ui/qt/qwhisper, whisper, xeth: polish topic filter, fix wildcards

This commit is contained in:
Péter Szilágyi
2015-04-22 12:50:48 +03:00
parent ae4bfc3cfb
commit db615a85ec
7 changed files with 215 additions and 45 deletions

View File

@ -106,7 +106,7 @@ func filterFromMap(opts map[string]interface{}) (f whisper.Filter) {
if topicList, ok := opts["topics"].(*qml.List); ok {
var topics []string
topicList.Convert(&topics)
f.Topics = whisper.NewTopicFilterFromStringsFlat(topics...)
f.Topics = whisper.NewFilterTopicsFromStringsFlat(topics...)
}
return