Cleanup
This commit is contained in:
parent
ec2ce2818d
commit
0eb0ea03d4
|
@ -84,11 +84,6 @@ QtObject:
|
|||
|
||||
proc messagePushed*(self: ChatsView) {.signal.}
|
||||
|
||||
proc pushMessage*(self:ChatsView, message: Message) =
|
||||
self.upsertChannel(message.chatId)
|
||||
self.messageList[message.chatId].add(message)
|
||||
self.messagePushed()
|
||||
|
||||
proc pushMessages*(self:ChatsView, messages: seq[Message]) =
|
||||
for msg in messages:
|
||||
self.upsertChannel(msg.chatId)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import eventemitter, json
|
||||
import sequtils
|
||||
import libstatus/chat as status_chat
|
||||
import libstatus/core as libstatus_core
|
||||
import ./profile as status_profile
|
||||
import chronicles
|
||||
import chat/[chat, message]
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import eventemitter
|
||||
|
||||
import libstatus/types
|
||||
import libstatus/accounts as libstatus_accounts
|
||||
import libstatus/core as libstatus_core
|
||||
|
||||
|
@ -10,7 +9,6 @@ import wallet as wallet
|
|||
import node as node
|
||||
import mailservers as mailservers
|
||||
import profile
|
||||
import ../signals/types as signal_types
|
||||
|
||||
type Status* = ref object
|
||||
events*: EventEmitter
|
||||
|
|
Loading…
Reference in New Issue