Commit graph

67 commits

Author SHA1 Message Date
Ben Wiederhake
ceec1a9435 Fix existance check when kicking
The effect of this bug was that kicking a non-existant user crashed pidgin.
Whoops.

Cannot be a 'g_return_if_fail', as that would leave
messages looking like errors in the log.
2017-06-21 21:34:52 +02:00
mjentsch
0c9fa0b230 Handle roomlist requests during connection 2017-05-16 23:12:54 +02:00
mjentsch
8c19fd44b9 Revert "Set the roomlist progress for compatibility"
This reverts commit 7dc7f61ca4.
2017-05-16 23:12:54 +02:00
mjentsch
7dc7f61ca4 Set the roomlist progress for compatibility
Spectrum2 doesn't seem to display the roomlist
without it, see #365
2017-04-11 21:43:19 +02:00
mjentsch
77d50c3ae1 Merge branch 'EionRobb-group-typing-notifications' into dev-1.4.0
Merges pull request #359
2017-03-13 22:32:15 +01:00
Eion Robb
0446ca2b9b Support typing notifications using the group-typing-notifications plugin
See https://github.com/EionRobb/pidgin-groupchat-typing-notifications
2017-03-13 22:27:01 +13:00
mjentsch
1cb22c9df1 Fix debug message 2017-03-02 20:24:33 +01:00
mjentsch
c0210af0b9 Fix crash on joining non-existing chat 2017-02-11 12:51:33 +01:00
Eion Robb
71276b109e Add support for a /kick command in chat rooms 2016-11-13 09:22:28 +13:00
mjentsch
daeb7db701 Only fetch history for joined channels
Prevent loading history for non-joined channels that may occur when messages forwarded for non-joined channels are being fetched.
2016-04-03 17:16:13 +02:00
mjentsch
786394bb3e Fix history in Adium, store channel sequence as account options instead of the blist 2016-04-03 17:04:35 +02:00
mjentsch
a35c6cdd3b Support sending code tags and improve inline image handling
Properly parse inline img tags in messages to support multiple inline messages in one message.
Adium: remove adium-specific code path and allow embedding markup in outgoing message
2016-03-27 03:00:23 +02:00
mjentsch
c595e9ef14 Always load channel history on startup 2016-03-23 12:57:27 +01:00
mjentsch
aa87311f6d Fix crash on deleted chat 2016-03-23 12:48:14 +01:00
mjentsch
004f84b544 Experimental support for channel history
Fetch missing channel history, keep track of message IDs. Still broken in Adium.
2016-03-23 12:46:04 +01:00
mjentsch
4e3b913a9d Remove unneeded code 2016-02-17 20:53:20 +01:00
mjentsch
0a786049fc Fix auto-join and bookmarks in Adium
Fix a regression that was caused by automatically adding all chats to the blist. Adiums method for joining chats by name assumes that an existing chat in the blist means we already joined and not join the chat.
2016-02-17 20:52:45 +01:00
mjentsch
abbaad7a0c Support leaving channels and exporting channel invite links 2016-02-14 00:34:30 +01:00
mjentsch
581e024254 Display chat and channel icons, refactor image loading code 2016-02-10 02:03:46 +01:00
mjentsch
1070b5a6e7 Cleanup and add a few notes 2016-02-07 18:23:12 +01:00
mjentsch
e8005883ab Display channels and supergroups in roomlist 2016-02-07 00:40:48 +01:00
mjentsch
fbe3a7fbba Support supergroups and displaying channel members
Change all channels to be chats instead of regular buddies and implement fetching channel memberships. Remove some unneeded code scraps from old channel handling.
2016-02-07 00:04:31 +01:00
mjentsch
6eee0c3c43 Use flags instead of users_num to check if a chat is already left 2016-01-12 23:53:49 +01:00
mjentsch
3b3a4eafc2 Merge branch 'dev-1.2.3' into dev-1.3.0 2015-12-30 16:32:28 +01:00
mjentsch
838e08a0e8 Fix coding guidelines 2015-12-29 14:33:03 +01:00
mjentsch
6cadb04fbd Fix glib log errors on joining chats and clean up code 2015-12-29 14:32:13 +01:00
mjentsch
8fed82cc75 Fix writing messages to deleted buddies and cleanup
Do not depend on buddy list entries when looking up the ID from the user name, by maintaining a bi-directional mapping ID <-> username. Rename functions to make them more evident as something that operatos on the lookup. Cleanup blist functions by implementating generic iterator function over account buddies.
2015-12-28 17:44:49 +01:00
mjentsch
b828460886 Merge branch 'dev-1.2.3' into dev-1.3.0 2015-12-19 22:02:54 +01:00
mjentsch
b85fc85322 Fix auto-joining chats 2015-12-18 22:59:51 +01:00
mjentsch
18c2539f75 Fix regressions: chat actions not available for chats 2015-12-09 01:08:45 +01:00
mjentsch
5d6f9f35bb Remove migration for translated group names
Keep it maintainable and non-intrusive, the affected users can easily move the buddies into the new chat.
2015-12-06 22:04:54 +01:00
mjentsch
7a6792ff04 Update copyright strings
Add current year where its left out, add missing authors and remove authors without any contributions in that file.
2015-12-05 20:40:08 +01:00
Ben Wiederhake
954ed6048b Clarify messages, use 'please' where appropriate 2015-11-26 08:23:25 +01:00
mjentsch
04bc03bebf Clean up the include mess
Keep all libtgl and telegram-purple includes in telegram-purple.h to prevent duplication of all those includes. Remove redundant includes.
2015-11-23 03:06:30 +01:00
mjentsch
2d90f3ea03 More cleanup and refactoring 2015-11-21 22:14:57 +01:00
mjentsch
602edc8b5f Cleanup and coding guidelines 2015-11-21 16:30:50 +01:00
mjentsch
cb0bbe5b1c cleanup 2015-10-31 21:49:56 +01:00
mjentsch
81b64d7542 Fix "crashes" on name changes
Do not assume that a name for each ID can only be set once anymore.
Remove assertion that names always exist, return 0 instead and propagate
error handling to the calling function.
2015-10-31 20:09:31 +01:00
mjentsch
306273d4c4 Merge branch 'beta4-human-reable-user-names' into beta4 2015-10-17 18:09:42 +02:00
mjentsch
5c76324b78 cleanup 2015-10-17 00:00:25 +02:00
mjentsch
3f2f557284 Use clearer names for name and id resolution functions and clean up 2015-10-16 22:45:21 +02:00
mjentsch
527f16985d Remove dead code 2015-10-11 14:17:47 +02:00
mjentsch
4eeb7f73c9 Overhaul username handling
Use print names instead of ids as usernames, to fix problems with "useless" user ids showing up for unknown users and in group chats. Remove workarounds like "Telegram Foreign" needed to temporarily store user names for alias resolution.
2015-10-11 14:17:24 +02:00
Ben Wiederhake
6e7e9ce862 Fix translations to be at least passable. 2015-10-07 22:07:56 +02:00
mjentsch
688f628890 Consolidate user messages 2015-10-06 19:23:07 +02:00
mjentsch
ffef370ae1 Translate a few more left-out strings 2015-10-06 14:37:12 +02:00
Ben Wiederhake
47bd4b2b33 Use new API, fix build system. 2015-10-04 17:51:49 +02:00
mjentsch
4c576524e4 Move requests into separate file 2015-10-03 02:12:58 +02:00
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