aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/entities/Message.java (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-03-16do not merge oob messagesChristian Schneppe1-0/+2
2020-02-02show audio artist and title for audio filesChristian Schneppe1-0/+1
2020-01-02persist file size across abortsChristian Schneppe1-1/+5
2020-01-02make parts in Message.java finalChristian Schneppe1-1/+1
2019-12-09properly restore LMC edits. switch to LMC v1.1Christian Schneppe1-9/+12
2019-11-04rework message deletionChristian Schneppe1-0/+6
2019-09-13parse LMC 1.1Christian Schneppe1-0/+17
2019-09-13keep track of previously edited idsChristian Schneppe1-13/+23
2019-09-12show language in message bubble if multiple language variants were receivedChristian Schneppe1-3/+18
XML and by inheritence XMPP has the feature of transmitting multiple language variants for the same content. This can be really useful if, for example, you are talking to an automated system. A chat bot could greet you in your own language. On the wire this will usually look like this: ```xml <message to="you"> <body>Good morning</body> <body xml:lang="de">Guten Morgen</body> </message> ``` However receiving such a message in a group chat can be very confusing and potentially dangerous if the sender puts conflicting information in there and different people get shown different strings. Disabling support for localization entirely isn’t an ideal solution as on principle it is still a good feature; and other clients might still show a localization even if Conversations would always show the default language. So instead we now show the displayed language in a corner of the message bubble if more than one translation has been received. If multiple languages are received we will attempt to find one in the language the operating system is set to. If no such translation can be found it will attempt to display the English string. If English can not be found either (for example a message that only has ru and fr on a phone that is set to de) it will display what ever language came first. Furthermore we will discard (not show at all) messages with with multiple bodies of the same language. (This is considered an invalid message) The language tag will not be shown if we receive a single body in a language not understood by the user. (For example operating system set to 'de' and message received with one body in 'ru' will just display that body as usual.) As a guide line to the user: If you are reading a message where it is important that this message is not interpreted differently by different people (like a vote (+1 / -1) in a chat room) make sure it has *no* language tag.
2019-07-01code cleanup & small fixesChristian Schneppe1-1/+1
2019-06-08performance improvementsChristian Schneppe1-2/+1
2019-05-18performance improvementsChristian Schneppe1-0/+1
2019-05-04go forward through cursor in message restoreChristian Schneppe1-26/+13
We have seen some weird CursorIndexNotFoundException that we were unable to reproduce. We assume that going forward (moveToNext()) through the cursor instead of (moveToPrevious() fixes that issue
2019-05-04small message optimizationsChristian Schneppe1-2/+2
2019-05-03introduced type private_file_message to handle attachments in PMsChristian Schneppe1-12/+44
2019-03-31fix url detection for webpreviewsChristian Schneppe1-1/+2
2019-02-09small fixes for web previewChristian Schneppe1-2/+2
make links clickable and don't use transform links toLowerCase()
2019-02-09show web link previews in chatChristian Schneppe1-1/+15
fixes #113
2019-02-04rename some variablesChristian Schneppe1-1/+1
2019-01-27refactored avatar workers into single classChristian Schneppe1-1/+12
2019-01-25fix display of deleted filesChristian Schneppe1-4/+4
2019-01-25mark deleted files in database and not query them when querying for mediaChristian Schneppe1-6/+16
2018-12-04implement self healing omemoChristian Schneppe1-1/+2
after receiving a SignalMessage that can’t be decrypted because of broken sessions Conversations will attempt to grab a new pre key bundle and send a new PreKeySignalMessage wrapped in a key transport message.
2018-11-23use inContactList() instead inRoster() in the proper placesChristian Schneppe1-1/+1
2018-11-23show synced contacts in choose contact activityChristian Schneppe1-1/+1
2018-11-11implement message deletionChristian Schneppe1-1/+11
fixed #208
2018-10-20show cancelled instead of delivery failed if user requested to abort transferChristian Schneppe1-1/+1
2018-10-01catch all exceptions on detecting mime typeChristian Schneppe1-0/+2
2018-05-05filter sequences of more than 3 ltr-rtlChristian Schneppe1-2/+2
2018-05-03hide treatAsDownloadable in search resultsChristian Schneppe1-24/+2
2018-05-02added search result context menu + date separatorsChristian Schneppe1-10/+1
2018-04-30very much unoptimized search functionalityChristian Schneppe1-26/+41
2018-04-24keep track of user object in messagesChristian Schneppe1-0/+12
2018-04-24all contacts in roster are 'trusted'Christian Schneppe1-1/+1
2018-04-23make error message for 'not encrypted for this device'Christian Schneppe1-0/+4
2018-04-03do not enable encryption for bug reportsChristian Schneppe1-1/+1
2018-04-02migrate to xmpp-addrChristian Schneppe1-15/+14
2018-02-26do not merge bug reportsChristian Schneppe1-1/+2
2018-01-30optimized /me behaviorChristian Schneppe1-1/+1
fixes #133
2018-01-30discover file extension in original filename from pgpChristian Schneppe1-32/+5
2018-01-27improvements for self messagesChristian Schneppe1-1/+1
* fix omemo in group chats w/o participants * don't create two axolotl messages when messaging self * fix read marker for self messages
2017-12-16fixed treatAsDownload() for empty messagesChristian Schneppe1-1/+5
2017-12-16ignore data uri after aesgcm uriChristian Schneppe1-6/+12
2017-11-26make 'markable' attribute persistentChristian Schneppe1-5/+11
2017-11-24use com.android.support:support-emojiChristian Schneppe1-3/+2
2017-11-23deduplicate read markers if one with real jid is foundChristian Schneppe1-1/+15
2017-11-22send and show read markers in private, non-anonymous groupsChristian Schneppe1-3/+42
2017-10-13add more file information to FileParams (apk file app name; vcard contacts name)Christian Schneppe1-0/+17
2017-09-24reworked file params to store audio runtime amoung other thingsChristian Schneppe1-0/+3
2017-09-04set status=received on status messagesChristian Schneppe1-0/+1