mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
Cleanup
This commit is contained in:
parent
ec2ce2818d
commit
0eb0ea03d4
@ -84,11 +84,6 @@ QtObject:
|
|||||||
|
|
||||||
proc messagePushed*(self: ChatsView) {.signal.}
|
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]) =
|
proc pushMessages*(self:ChatsView, messages: seq[Message]) =
|
||||||
for msg in messages:
|
for msg in messages:
|
||||||
self.upsertChannel(msg.chatId)
|
self.upsertChannel(msg.chatId)
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import eventemitter, json
|
import eventemitter, json
|
||||||
import sequtils
|
import sequtils
|
||||||
import libstatus/chat as status_chat
|
import libstatus/chat as status_chat
|
||||||
import libstatus/core as libstatus_core
|
|
||||||
import ./profile as status_profile
|
import ./profile as status_profile
|
||||||
import chronicles
|
import chronicles
|
||||||
import chat/[chat, message]
|
import chat/[chat, message]
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import eventemitter
|
import eventemitter
|
||||||
|
|
||||||
import libstatus/types
|
|
||||||
import libstatus/accounts as libstatus_accounts
|
import libstatus/accounts as libstatus_accounts
|
||||||
import libstatus/core as libstatus_core
|
import libstatus/core as libstatus_core
|
||||||
|
|
||||||
@ -10,7 +9,6 @@ import wallet as wallet
|
|||||||
import node as node
|
import node as node
|
||||||
import mailservers as mailservers
|
import mailservers as mailservers
|
||||||
import profile
|
import profile
|
||||||
import ../signals/types as signal_types
|
|
||||||
|
|
||||||
type Status* = ref object
|
type Status* = ref object
|
||||||
events*: EventEmitter
|
events*: EventEmitter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user