Commit graph

19 commits

Author SHA1 Message Date
mjentsch
04df0afa95 Fix segfaults when adding chat 2015-09-17 00:00:53 +02:00
mjentsch
470f3fd5cb Fix joining by roomlist when setting an alias 2015-09-14 23:40:26 +02:00
mjentsch
4341bf0804 Fix showing joining chats by roomlist 2015-09-12 22:23:24 +02:00
mjentsch
c3f48b9835 Don't automatically add all chats to the buddy list
This should fix issue where left chats show up in the blist and cannot be removed anymore and broken Adium bookmarks.
This patch should make the whole chat handling much more native to libpurple, in which chats are added through the chatlist,
the join-chat window or automatically when incoming messages are received. Add a new option "Add chats to buddy list" in
case anyone wants the old behavior.
2015-09-12 22:21:27 +02:00
mjentsch
ce51b0bb68 Provide chat info defaults to allow joining chats from roomlist 2015-09-12 12:34:23 +02:00
mjentsch
ff2df0861b Add users in bulk to generate better join-messages in Finch 2015-09-08 17:06:56 +02:00
mjentsch
31c1037e4d Small fixes and cleanup 2015-09-08 17:06:56 +02:00
mjentsch
a5cef7dcaa Add support for roomlists 2015-09-08 17:06:56 +02:00
mjentsch
888cffffc1 Improve group chat management
Load full chat info lazily, prevents useless network request and should fix issues with delays through flood errors when handling big amounts of user chats. Handle chat participant deletions and additions correctly and only touch the user list when it is actually updated, this should fix some issues with printing annoying messages in Finch and users not showing up in the buddy list in certain situations. Only add chats to buddy list that are actively joined or receive incoming message, which should help keeping the buddy list more tidy when using much chats.
2015-09-08 17:06:56 +02:00
mjentsch
644416aa89 Display user aliases of users not in the buddy list in group chats 2015-09-08 17:06:55 +02:00
mjentsch
54c6f4d519 fix bug 2015-07-24 14:28:18 +02:00
mjentsch
8c859ad825 Fix bug that caused dropping of group chat messages when leaving the chat window open during reconnect 2015-05-30 15:55:13 +02:00
mjentsch
c6669a508d Don't display "empty chat" messages, created confusing output in a few cases. 2015-03-21 17:25:48 +01:00
mjentsch
293c6049a6 Display warning when opening a chat the current user is no longer a member of 2015-03-20 17:47:22 +01:00
mjentsch
b67c4115ff Repository cleanup and housekeeping 2015-03-12 01:56:16 +01:00
mjentsch
1e442ac195 Ensure that the message sequence doesn't get mixed up
Process incoming messages in a queue. Move all message-related functionality into one file.
2015-03-12 01:38:17 +01:00
mjentsch
2d94194d45 Fix segfault on automatic chat join
Check if peer was already allocated in chat_show. The auto-join flag can be safely ignored, all incoming chat messages are added to the chat anyways and will trigger an opening of the chat.
2015-03-07 16:21:26 +01:00
mjentsch
bb29ee82bc Rather just change this than fiddling around with c standards in the makefile 2015-01-28 19:43:42 +01:00
mjentsch
c85b8da619 Do not add group chats in which the user is not a member
Clean up and refactor group chat code, move chat functions into separate file, always load all chat infos on plugin load so we know the members.
2015-01-28 18:41:41 +01:00