mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 00:25:16 -04:00
simplification of the chat interface to libretroshare using a single unified class for chat IDs. Used a common chat widget for all chats including broadcast. Opens the way to having plugins send/recv chat messages. Patch from Electron.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7800 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
535fe875e4
commit
13d7866171
53 changed files with 1180 additions and 2280 deletions
|
@ -600,7 +600,8 @@ void FriendList::insertPeers()
|
|||
|
||||
// get ids of existing private chat messages
|
||||
std::list<RsPeerId> privateChatIds;
|
||||
rsMsgs->getPrivateChatQueueIds(true, privateChatIds);
|
||||
// TODO
|
||||
//rsMsgs->getPrivateChatQueueIds(true, privateChatIds);
|
||||
|
||||
// get existing groups
|
||||
std::list<RsGroupInfo> groupInfoList;
|
||||
|
@ -1292,7 +1293,7 @@ void FriendList::chatfriend(QTreeWidgetItem *item)
|
|||
ChatDialog::chatFriend(RsPgpId(getRsId(item)));
|
||||
break;
|
||||
case TYPE_SSL:
|
||||
ChatDialog::chatFriend(RsPeerId(getRsId(item)));
|
||||
ChatDialog::chatFriend(ChatId(RsPeerId(getRsId(item))));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue