Commit graph

25 commits

Author SHA1 Message Date
mjentsch
4980fa460c Fix crash on duplicated peer name in peer tree 2017-02-11 12:51:33 +01:00
mjentsch
581e024254 Display chat and channel icons, refactor image loading code 2016-02-10 02:03:46 +01:00
mjentsch
8100114319 Handle contacts added on different devices
Assure to add contacts, even when they are not in the dialog list. Refactor contact handling.
2016-01-25 00:51:33 +01:00
mjentsch
d032f3a237 cleanup 2016-01-10 01:27:38 +01:00
mjentsch
3b3a4eafc2 Merge branch 'dev-1.2.3' into dev-1.3.0 2015-12-30 16:32:28 +01:00
mjentsch
c921a91b42 Fix RPC calls failing for users with Umlauts in Adium
Fix issue with name normalization by assuring that the id/name lookup always uses composed strings. Remove the now-unused function in the Adium bundle.
2015-12-28 17:46:39 +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
de17ccb982 Fix trailing whitespace on users without a last name 2015-12-13 01:10:13 +01:00
mjentsch
5bd31bdae0 Add basic channel support 2015-12-06 23:46:09 +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
b2194b6a5d Translate group names 2015-12-06 20:38:06 +01:00
mjentsch
202772ed78 Improve robustness against name changes 2015-11-29 13:11:48 +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
e5e58d0c2f Fix compiler error in MinGW 2015-11-21 16:31:15 +01:00
mjentsch
81cf092554 Fix adding foreign buddy
Fix user info and user status not being correctly fetched.
2015-11-18 01:19:40 +01:00
mjentsch
57a76fdabd Fix confusing comment 2015-11-13 22:50:26 +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
d43f4f0d64 Use better names 2015-10-17 23:11:15 +02:00
mjentsch
306273d4c4 Merge branch 'beta4-human-reable-user-names' into beta4 2015-10-17 18:09:42 +02:00
mjentsch
9f96be976d clearer function names 2015-10-17 14:51:09 +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
a3a35eb7ff Do not drop history or break conversations when buddy print name changes
Do not update blist buddy names, but set an alias instead to prevent breaking conversations or loosing history. Instead, keep the first print name as permanent user name
and set the alias on all buddy name changes. When interacting with purple always use the original buddy name stored in the blist instead of the print name provided by libpurple.
This allows both, meaningful names in group chats and permanent identifiers in the buddy list, while still propagating names changes to the interface.
2015-10-16 00:08:24 +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