Commit graph

22 commits

Author SHA1 Message Date
mjentsch
586268424a Merge branch 'fix-group-participant-aliases' 2015-09-17 20:06:18 +02:00
Shlomi Fish
f6f01c848f Remove executable bit 2015-09-16 17:48:56 +03:00
mjentsch
a43aa8de42 Prevent flood warnings #2
Only get every chat info exactly once to avoid stalling of the incoming message queue through flood warnings.
2015-09-08 22:13:37 +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
8af1991bc8 Update libtgl and fix receiving file transfers of audio and video documents 2015-08-22 13:34:53 +02:00
mjentsch
747c214dcd Support creating new chats
Offer creating a new chat when trying to join a non-existing chat and
add user choice dialogue...
2015-07-18 03:00:11 +02:00
mjentsch
0065e6d1a9 Fix compile error 2015-05-29 19:04:49 +02:00
mjentsch
e0d1f77a79 cleanup 2015-04-05 00:38:22 +02:00
mjentsch
1c7eebbe7c Ensure that messages are not sent during events.
Don't cause segfault in libtgl when add_log_event is called twice.
2015-04-03 01:23:09 +02:00
mjentsch
0590862151 Add support for file transfers in encrypted chats 2015-03-13 00:18:01 +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
deaa659895 Fix segfault in file transfer memory management 2015-03-04 22:37:59 +01:00
mjentsch
c9aab9c8eb Support file transfers 2015-02-23 20:34:24 +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
mjentsch
51bb79947c Improve writing to state file and clean up repository
Instead of using a timer, schedule writes on each new messages. This ensures that there are not too many writes on big updates and still works without a long-running timer.
2015-01-23 16:37:22 +01:00
mjentsch
1dd7be0262 Fix segfault by canceling pending login timer on close 2015-01-22 21:28:13 +01:00
mjentsch
ac9ce29b1d Fix user info and clean up source code 2015-01-22 00:16:35 +01:00
root
97c3ff894a Added basic user info to encrypted user 2015-01-06 18:30:03 +01:00
mjentsch
00ece8a3b4 Fix huge memory leak
Implement proper handling of imgstore reference counting and remove
several leaky memdup functions
2014-12-27 23:40:25 +01:00
mjentsch
d08e54d3e0 Move functions and defintions for plugin-internal structs into separate file and fix memory leak 2014-12-26 18:54:12 +01:00