refactor: move stickers to own model

Remove from ChatModel and add StickerModel

# Conflicts:
#	src/app/chat/view.nim
#	src/status/chat.nim
#	src/status/libstatus/contracts.nim
This commit is contained in:
emizzle 2020-09-09 13:25:08 +10:00 committed by Iuri Matias
parent 366fdc15a1
commit 80f0f9466b
2 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,8 @@ import libstatus/chatCommands as status_chat_commands
import libstatus/accounts/constants as constants
import libstatus/types
import stickers
import mailservers
import profile/profile
import chat/[chat, message]
import signals/messages

View File

@ -8,7 +8,7 @@ from eth/common/utils import parseAddress
import # local deps
libstatus/types, libstatus/eth/contracts as status_contracts,
libstatus/stickers as status_stickers, transactions
from libstatus/utils as libstatus_utils import eth2Wei
from libstatus/utils as libstatus_utils import eth2Wei, gwei2Wei, toUInt64
logScope:
topics = "stickers-model"