fix: remove echo

This commit is contained in:
Richard Ramos 2020-11-26 18:33:42 -04:00
parent 7c69f8fe52
commit b372d8047e
No known key found for this signature in database
GPG Key ID: 80D4B01265FDFE8F

View File

@ -128,14 +128,9 @@ proc updateContacts*(self: ChatModel, contacts: seq[Profile]) =
proc init*(self: ChatModel) =
let chatList = status_chat.loadChats()
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo $chatList
var filters:seq[JsonNode] = @[]
for chat in chatList:
echo ",,,,,,,,,", chat.name
if self.hasChannel(chat.id):
echo "Has channel"
continue
filters.add status_chat.buildFilter(chat)
self.channels[chat.id] = chat