Commit Graph

15 Enmetoj

Author SHA1 Message Date
Jaidyn Ann ad673a63f5 Fix libsupport/KeyMap's KeyAt method 2021-06-01 21:41:49 -05:00
Jaidyn Ann 48d0b7bc96 Create Conversation class, use it instead of Contact for chats
This is a commit with it's foot in a lot of places, but:

The Conversation class was created as the abstraction of chats: All
ImMessages that are relevant to a conversation get routed through it,
meta-data on chats is stored in it (even if right now that's basically
limited to the user list and ID).

Server was given more methods to help accessing contacts―
ContactById(BString) and AddContact(Contact*). This better allows
Conversations to add and fetch Contacts as necessary. Right now, all
users in chats are treated as Contacts, so in the future creating an
independent userlist for Server (fUserMap?) would be useful.

Server also now stores all Conversations (fChatMap) and has some
convenience methods like for Contacts: Conversations(),
ConversationById(BString), and AddConversation(Conversation*).

CayaRenderView has been changed to not store user nicks, and will use
the appropriate nick of any arbitrarily-numbered user.

Users also have a map of all Conversations they are a part of
(fChatMap).

The Remove* methods of KeyMap now return the removed item.
2021-05-24 01:47:21 -05:00
Jaidyn Ann df55e1d9f5 Switch from Jam to Make 2021-05-19 16:12:19 -05:00
Barrett 830f1216f5 Merging caya and caya-gpl-protocols 2013-07-29 16:58:19 +02:00
barrett 297fd986f8 momoving msn plugin to caya gpl plugins subproject 2010-10-09 03:36:24 +00:00
plfiorini 1644625480 Added SHA1 class. 2010-05-30 04:26:11 +00:00
plfiorini 5b41b18007 inline members and defined some members as const. 2010-05-28 17:10:56 +00:00
plfiorini cc898075d2 Fixed what mankind will remember as the 'Massive Breakage due to "blind svn merge"'. 2010-05-19 21:36:36 +00:00
plfiorini 2ee14f4c14 * Some style violation fixes.
* Code aligned to recent multiprotocol branch changes.
* Fixed crash when Server filters IM_STATUS_SET messages and ContactLinker is NULL.
2010-05-19 20:37:26 +00:00
plfiorini 8d1c0d1a9d Merging r148, r154, r155 with trunk. 2010-05-19 17:11:22 +00:00
plfiorini 4bdc37a60e Merged multiprotocol branch with trunk. 2010-05-16 21:02:50 +00:00
plfiorini dd8d0d1f5a Gcc4 build fixes. 2010-05-10 21:54:28 +00:00
plfiorini b1388d17e8 * Moved KeyMap.h to libsupport.
* Added missing Singleton.cpp.
* Fixed List.
2010-05-08 00:23:36 +00:00
plfiorini af8541fb17 Added an utility class for lists. 2010-05-07 16:54:04 +00:00
plfiorini 0bf4b59922 Usual SVN tree (branches, tags, trunk). 2010-05-07 09:47:10 +00:00