remove old method

This commit is contained in:
Iuri Matias 2020-06-16 12:59:00 -04:00
parent f52a0d56ab
commit 1c2154f11e
1 changed files with 0 additions and 5 deletions

View File

@ -178,11 +178,6 @@ proc confirmJoiningGroup*(self: ChatModel, chatId: string) =
var (chats, messages) = self.processChatUpdate(response)
self.events.emit("chatUpdate", ChatUpdateArgs(messages: messages, chats: chats))
proc blockContact*(self: ChatModel, id: string): string =
var contact = status_profile.getContactByID(id)
contact.systemTags.add(":contact/blocked")
result = status_chat.blockContact(contact)
proc renameGroup*(self: ChatModel, chatId: string, newName: string) =
var response = parseJson(status_chat.renameGroup(chatId, newName))
var (chats, messages) = formatChatUpdate(response)