aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/entities/Message.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* do not merge oob messagesChristian Schneppe2020-03-161-0/+2
|
* show audio artist and title for audio filesChristian Schneppe2020-02-021-0/+1
|
* persist file size across abortsChristian Schneppe2020-01-021-1/+5
|
* make parts in Message.java finalChristian Schneppe2020-01-021-1/+1
|
* properly restore LMC edits. switch to LMC v1.1Christian Schneppe2019-12-091-9/+12
|
* rework message deletionChristian Schneppe2019-11-041-0/+6
|
* parse LMC 1.1Christian Schneppe2019-09-131-0/+17
|
* keep track of previously edited idsChristian Schneppe2019-09-131-13/+23
|
* show language in message bubble if multiple language variants were receivedChristian Schneppe2019-09-121-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.
* code cleanup & small fixesChristian Schneppe2019-07-011-1/+1
|
* performance improvementsChristian Schneppe2019-06-081-2/+1
|
* performance improvementsChristian Schneppe2019-05-181-0/+1
|
* go forward through cursor in message restoreChristian Schneppe2019-05-041-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
* small message optimizationsChristian Schneppe2019-05-041-2/+2
|
* introduced type private_file_message to handle attachments in PMsChristian Schneppe2019-05-031-12/+44
|
* fix url detection for webpreviewsChristian Schneppe2019-03-311-1/+2
|
* small fixes for web previewChristian Schneppe2019-02-091-2/+2
| | | | make links clickable and don't use transform links toLowerCase()
* show web link previews in chatChristian Schneppe2019-02-091-1/+15
| | | | fixes #113
* rename some variablesChristian Schneppe2019-02-041-1/+1
|
* refactored avatar workers into single classChristian Schneppe2019-01-271-1/+12
|
* fix display of deleted filesChristian Schneppe2019-01-251-4/+4
|
* mark deleted files in database and not query them when querying for mediaChristian Schneppe2019-01-251-6/+16
|
* implement self healing omemoChristian Schneppe2018-12-041-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.
* use inContactList() instead inRoster() in the proper placesChristian Schneppe2018-11-231-1/+1
|
* show synced contacts in choose contact activityChristian Schneppe2018-11-231-1/+1
|
* implement message deletionChristian Schneppe2018-11-111-1/+11
| | | | fixed #208
* show cancelled instead of delivery failed if user requested to abort transferChristian Schneppe2018-10-201-1/+1
|
* catch all exceptions on detecting mime typeChristian Schneppe2018-10-011-0/+2
|
* filter sequences of more than 3 ltr-rtlChristian Schneppe2018-05-051-2/+2
|
* hide treatAsDownloadable in search resultsChristian Schneppe2018-05-031-24/+2
|
* added search result context menu + date separatorsChristian Schneppe2018-05-021-10/+1
|
* very much unoptimized search functionalityChristian Schneppe2018-04-301-26/+41
|
* keep track of user object in messagesChristian Schneppe2018-04-241-0/+12
|
* all contacts in roster are 'trusted'Christian Schneppe2018-04-241-1/+1
|
* make error message for 'not encrypted for this device'Christian Schneppe2018-04-231-0/+4
|
* do not enable encryption for bug reportsChristian Schneppe2018-04-031-1/+1
|
* migrate to xmpp-addrChristian Schneppe2018-04-021-15/+14
|
* do not merge bug reportsChristian Schneppe2018-02-261-1/+2
|
* optimized /me behaviorChristian Schneppe2018-01-301-1/+1
| | | | fixes #133
* discover file extension in original filename from pgpChristian Schneppe2018-01-301-32/+5
|
* improvements for self messagesChristian Schneppe2018-01-271-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
* fixed treatAsDownload() for empty messagesChristian Schneppe2017-12-161-1/+5
|
* ignore data uri after aesgcm uriChristian Schneppe2017-12-161-6/+12
|
* make 'markable' attribute persistentChristian Schneppe2017-11-261-5/+11
|
* use com.android.support:support-emojiChristian Schneppe2017-11-241-3/+2
|
* deduplicate read markers if one with real jid is foundChristian Schneppe2017-11-231-1/+15
|
* send and show read markers in private, non-anonymous groupsChristian Schneppe2017-11-221-3/+42
|
* add more file information to FileParams (apk file app name; vcard contacts name)Christian Schneppe2017-10-131-0/+17
|
* reworked file params to store audio runtime amoung other thingsChristian Schneppe2017-09-241-0/+3
|
* set status=received on status messagesChristian Schneppe2017-09-041-0/+1
|