Compare commits

..

43 commits

Author SHA1 Message Date
Pavel R. 63d6a56e60 Merge pull request 'hru+kudah' (#16) from hrukudah into develop
Reviewed-on: #16
Reviewed-by: kosyak <kosyak@narayana.im>
2024-11-20 18:37:40 +00:00
Pavel R. 25c5f663b0 Merge pull request 'another screenshots' (#20) from another-screenshots1 into develop
Reviewed-on: #20
2024-11-20 18:36:56 +00:00
Bohdan Horbeshko 57da0ab5d4 another screenshots 2024-11-20 17:29:45 +01:00
kosyak d8a7051c5d bring back monochrome launcher icon 2024-11-16 12:14:05 +01:00
kosyak ab56d030fb new appid 2024-11-10 23:00:13 +01:00
kosyak 32340ac484 new logo and renaming 2024-11-10 22:33:34 +01:00
Bohdan Horbeshko 52e4be556b hru+kudah 2024-11-03 19:17:44 +01:00
kosyak 4990ac0a23 delete secret chat messages as well 2024-10-29 17:35:58 +07:00
kosyak 8772c9fd73 fix back navigation 2024-10-29 17:34:13 +07:00
kosyak e1e2de8a76 fix conversation lookup for smp initialization 2024-10-29 17:30:57 +07:00
kosyak 948fd85a43 filter otr messages from mam queries 2024-10-29 17:30:28 +07:00
kosyak bf43f5ddfd remove secret chat from database 2024-10-29 17:29:47 +07:00
kosyak 82134599ef allow to destroy secret chat 2024-10-29 17:29:12 +07:00
kosyak e72b866fce allow to start secret chat on roster page 2024-10-29 17:28:33 +07:00
kosyak b18f042b8b don't create secret chat for OTR messages without resource 2024-10-14 22:14:22 +02:00
kosyak a66fa08be4 fix conversation from db restoring 2024-10-13 23:42:38 +02:00
kosyak 07c730098e dont show annoying toast about history fetching policy 2024-10-13 23:42:07 +02:00
kosyak 0a99844a71 hide verify encryption footer after blind trust 2024-10-13 23:41:39 +02:00
kosyak c4bda2baf1 otr blind trust 2024-10-13 18:51:31 +02:00
kosyak 88ad3f6940 icon for secret chats 2024-10-13 17:45:43 +02:00
kosyak 1a33af7c15 don't show raw otr message in notifications 2024-10-12 13:50:04 +02:00
kosyak 5920533cf5 proper title for secret chat 2024-10-12 13:39:44 +02:00
kosyak 701c21ae4a fix empty OTR verification window 2024-10-10 01:01:17 +02:00
kosyak 28c633deb8 Revert "debug"
This reverts commit 635e5675d1.
2024-10-10 00:24:03 +02:00
kosyak a1cc201ae7 decrease toolbar title size 2024-10-10 00:23:49 +02:00
kosyak d6f162fc65 bump version 2024-10-10 00:19:44 +02:00
kosyak 635e5675d1 debug 2024-10-10 00:12:17 +02:00
kosyak 9529831f80 tune toolbar texts sizes 2024-10-09 23:20:08 +02:00
kosyak d970679064 get rid of debug logs 2024-10-06 23:26:03 +02:00
kosyak cf9ca3cc46 hide contact presence indicator when related account went offline 2024-10-06 18:55:17 +02:00
kosyak d88d858069 smaller text size for contact status 2024-10-06 18:54:14 +02:00
kosyak 4431eccc98 dont show start secret chat button inside secret chat 2024-10-01 19:59:46 +02:00
kosyak 973a48ef62 otr conversations implementation 2024-09-30 05:47:13 +02:00
kosyak 389074e802 Reapply "OTR implementation"
This reverts commit c145a6b8e5.

# Conflicts:
#	src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java
#	src/main/res/values/strings.xml
2024-09-29 23:36:50 +02:00
kosyak 1a751b8a80 don't check if muc pm was archived in case of new message 2024-09-09 00:03:31 +02:00
kosyak c32809b963 allow to disable presence and account indicators 2024-09-08 23:51:05 +02:00
kosyak c64e0925f4 fallback on message uuid to fix missed reply id for single mode conversations 2024-09-06 01:02:52 +02:00
kosyak 95ee8459b8 don't use jabber last seen in status calculations 2024-09-02 22:16:05 +02:00
kosyak 021552b1d4 try to fix wired jump to bottom button behavior 2024-09-02 01:10:32 +02:00
kosyak e3542ccf72 take last seen into account during status indicator calculation 2024-09-02 01:08:27 +02:00
kosyak ffbdad7503 show participants count/last seen in toolbar indicator 2024-09-02 01:00:39 +02:00
kosyak 00817b79be account color selector 2024-09-02 00:12:42 +02:00
kosyak 4dab5156e1 small muc subject improvements 2024-09-01 22:57:59 +02:00
156 changed files with 2513 additions and 193 deletions

View file

@ -1,6 +1,6 @@
<h1 align="center">Conversations Classic</h1>
<h1 align="center">another.im</h1>
<p align="center">Conversations Classic: the very last word in instant messaging</p>
<p align="center">another.im: the very last word in instant messaging</p>
## Design principles
@ -28,11 +28,11 @@
### XMPP Features
Conversations Classic works with every XMPP server out there. However XMPP is an
another.im works with every XMPP server out there. However XMPP is an
extensible protocol. These extensions are standardized as well in so called
XEP's. Conversations Classic supports a couple of these to make the overall user
XEP's. another.im supports a couple of these to make the overall user
experience better. There is a chance that your current XMPP server does not
support these extensions; therefore to get the most out of Conversations Classic you
support these extensions; therefore to get the most out of another.im you
should consider either switching to an XMPP server that does or — even better —
run your own XMPP server for you and your friends. These XEP's are:
@ -51,7 +51,7 @@ run your own XMPP server for you and your friends. These XEP's are:
client to your desktop client and back within one conversation.
* [XEP-0308: Last Message Correction](https://xmpp.org/extensions/xep-0308.html) allows you to edit last message as well as retract it
* [XEP-0313: Message Archive Management](http://xmpp.org/extensions/xep-0313.html) synchronize message history with the
server. Catch up with messages that were sent while Conversations Classic was
server. Catch up with messages that were sent while another.im was
offline.
* [XEP-0352: Client State Indication](http://xmpp.org/extensions/xep-0352.html) lets the server know whether or not
Conversations is in the background. Allows the server to save bandwidth by
@ -67,7 +67,7 @@ run your own XMPP server for you and your friends. These XEP's are:
#### How do I install Conversations?
Conversations Classic is entirely open source and licensed under GPLv3. So if you are a
another.im is entirely open source and licensed under GPLv3. So if you are a
software developer you can check out the sources from GitHub and use Gradle to
build your apk file.
@ -85,12 +85,12 @@ As of 2023 XMPP has reached a level of maturity where all major XMPP servers ([e
Interoperability with Prosody and ejabberd is tested fairly regularly just because of their market share but we occasionally test with other servers too and fix issues as soon as we are being made aware of them.
#### Where can I set up a custom hostname / port
Conversations Classic will automatically look up the SRV records for your domain name
another.im will automatically look up the SRV records for your domain name
which can point to any hostname port combination. If your server doesnt provide
those please contact your admin and have them read
[this](http://prosody.im/doc/dns#srv_records). If your server operator is unwilling
to fix this you can enable advanced server settings in the expert settings of
Conversations Classic.
another.im.
#### I get 'Incompatible Server'
@ -101,15 +101,15 @@ If you are a server administrator you should make sure that your server provides
either STARTTLS or [XEP-0368: SRV records for XMPP over TLS](https://xmpp.org/extensions/xep-0368.html).
On rare occasions this error message might also be caused by a server not providing
a login (SASL) mechanism that Conversations Classic is able to handle. Conversations Classic supports
a login (SASL) mechanism that another.im is able to handle. another.im supports
SCRAM-SHA1, PLAIN, EXTERNAL (client certs) and DIGEST-MD5.
#### I get 'Bind failure'. What does that mean?
Some Bind failures are transient and resolve themselves after a reconnect.
When trying to connect to OpenFire the bind failure can be a permanent problem when the domain part of the Jabber ID entered in Conversations Classic doesnt match the domain the OpenFire server feels responsible for. For example OpenFire is configured to use the domain `a.tld` but the Jabber ID entered is `user@b.tld` where `b.tld` also points to the same host. During bind OpenFire tries to reassign the Jabber to `user@a.tld`. Conversations Classic doesnt like that.
This can be fixed by creating a new account in Conversations Classic that uses the Jabber ID `user@a.tld`.
When trying to connect to OpenFire the bind failure can be a permanent problem when the domain part of the Jabber ID entered in another.im doesnt match the domain the OpenFire server feels responsible for. For example OpenFire is configured to use the domain `a.tld` but the Jabber ID entered is `user@b.tld` where `b.tld` also points to the same host. During bind OpenFire tries to reassign the Jabber to `user@a.tld`. another.im doesnt like that.
This can be fixed by creating a new account in another.im that uses the Jabber ID `user@a.tld`.
Note: This is kind of a weird quirk in OpenFire. Most other servers would just throw a 'Server not responsible for domain' error instead of attempting to reassign the Jabber ID.
@ -119,10 +119,10 @@ Maybe you attempted to use the Jabber ID `test@b.tld` because `a.tld` doesnt
In most cases this error is caused by ejabberd advertising support for TLSv1.3 but not properly supporting it. This can happen if the OpenSSL version on the server already supports TLSv1.3 but the fast\_tls wrapper library used by ejabberd not (properly) support it. Upgrading fast\_tls and ejabberd or - theoretically - downgrading OpenSSL should fix the issue. A work around is to explicitly disable TLSv1.3 support in the ejabberd configuration. More information can be found on [this issue on the ejabberd issue tracker](https://github.com/processone/ejabberd/issues/2614).
**The battery consumption and the entire behavior of Conversations Classic will remain the same (as good or as bad as it was before). Why is Google doing this to you? We have no idea.**
**The battery consumption and the entire behavior of another.im will remain the same (as good or as bad as it was before). Why is Google doing this to you? We have no idea.**
##### Android &lt;= 7.1 or Conversations Classic from F-Droid (all Android versions)
The foreground notification is still controlled over the expert settings within Conversations Classic as it always has been. Whether or not you need to enable it depends on how aggressive the non-standard 'power saving' features are that your phone vendor has built into the operating system.
##### Android &lt;= 7.1 or another.im from F-Droid (all Android versions)
The foreground notification is still controlled over the expert settings within another.im as it always has been. Whether or not you need to enable it depends on how aggressive the non-standard 'power saving' features are that your phone vendor has built into the operating system.
##### Android 8.x
Long press the permanent notification and disable that particular type of notification by moving the slider to the left. This will make the notification disappear but create another notification (this time created by the operating system itself.) that will complain about Conversations (and other apps) using battery. Starting with Android 8.1 you can disable that notification again with the same method described above.
@ -134,20 +134,20 @@ Long press the permanent notification and press the info `(i)` button to get int
You can join our conference room on [`xmppclient-dev@conference.narayana.im`](xmpp:xmppclient-dev@conference.narayana.im).
A lot of people in there are able to answer basic questions about the usage of
Conversations Classic or can provide you with tips on running your own XMPP server. If
another.im or can provide you with tips on running your own XMPP server. If
you found a bug or your app crashes please read the Developer / Report Bugs
section of this document.
#### How does the address book integration work?
The address book integration was designed to protect your privacy. Conversations Classic
The address book integration was designed to protect your privacy. another.im
neither uploads contacts from your address book to your server nor fills your
address book with unnecessary contacts from your online roster. If you manually
add a Jabber ID to your phones address book Conversations Classic will use the name and
add a Jabber ID to your phones address book another.im will use the name and
the profile picture of this contact. To make the process of adding Jabber IDs to
your address book easier you can click on the profile picture in the contact
details within Conversations Classic. This will start an "add to address book" intent
with the JID as the payload. This doesn't require Conversations Classic to have write
details within another.im. This will start an "add to address book" intent
with the JID as the payload. This doesn't require another.im to have write
permissions on your address book but also doesn't require you to copy/paste a
JID from one app to another.
@ -203,21 +203,21 @@ changeable on the fly. Metrics like last active client (the client which sent
the last message) are much better.
Unfortunately these modern replacements for legacy XMPP features are not widely
adopted. However Conversations Classic should be an instant messenger for the future and
instead of making Conversations Classic compatible with the past we should work on
adopted. However another.im should be an instant messenger for the future and
instead of making another.im compatible with the past we should work on
implementing new, improved technologies and getting them into other XMPP clients
as well.
Making these status and priority optional isn't a solution either because
Conversations Classic is trying to get rid of old behaviours and set an example for
another.im is trying to get rid of old behaviours and set an example for
other clients.
#### How do I backup / move Conversations Classic to a new device?
#### How do I backup / move another.im to a new device?
Use the Backup button in the Settings.
#### Conversations Classic is missing a certain feature
#### another.im is missing a certain feature
Please report it to our XMPP conference [`xmppclient-dev@conference.narayana.im`](xmpp:xmppclient-dev@conference.narayana.im)
@ -231,7 +231,7 @@ Please report it to our XMPP conference [`xmppclient-dev@conference.narayana.im`
#### How do I use OpenPGP
Before you continue reading you should note that the OpenPGP support in
Conversations Classic is experimental. This is not because it will make the app unstable
another.im is experimental. This is not because it will make the app unstable
but because the fundamental concepts of PGP aren't ready for widespread use.
The way PGP works is that you trust Key IDs instead of JID's or email addresses.
So in theory your contact list should consist of Public-Key-IDs instead of
@ -269,12 +269,12 @@ details and hit the settings button (the one with the gears) and select both *pr
Every participant has to announce their OpenPGP key (see answer above).
If you would like to send encrypted messages to a conference you have to make
sure that you have every participant's public key in your OpenKeychain.
Right now there is no check in Conversations Classic to ensure that.
Right now there is no check in another.im to ensure that.
You have to take care of that yourself. Go to the conference details and
touch every key id (The hexadecimal number below a contact). This will send you
to OpenKeychain which will assist you on adding the key. This works best in
very small conferences with contacts you are already using OpenPGP with. This
feature is regarded experimental. Conversations Classic is the only client that uses
feature is regarded experimental. another.im is the only client that uses
XEP-0027 with conferences. (The XEP neither specifically allows nor disallows
this.)

View file

@ -71,6 +71,7 @@ dependencies {
implementation 'com.google.guava:guava:32.1.3-android'
implementation 'io.michaelrocks:libphonenumber-android:8.13.17'
implementation 'im.conversations.webrtc:webrtc-android:119.0.0'
implementation 'org.jitsi:org.otr4j:0.23'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation "androidx.recyclerview:recyclerview:1.2.1"
@ -83,6 +84,7 @@ dependencies {
implementation 'com.github.singpolyma:TokenAutoComplete:bfa93780e0'
implementation 'com.github.kizitonwose.colorpreference:core:1.1.0'
implementation 'com.github.kizitonwose.colorpreference:support:1.1.0'
implementation 'com.caverock:androidsvg-aar:1.4'
implementation 'com.github.singpolyma:Better-Link-Movement-Method:4df081e1e4'
@ -102,12 +104,12 @@ android {
defaultConfig {
minSdkVersion 24
targetSdkVersion 34
versionCode 42115
versionName "2.3.1"
versionCode 42116
versionName "2.3.2"
archivesBaseName += "-$versionName"
applicationId "eu.siacs.conversations.classic"
applicationId "im.narayana.another"
resValue "string", "applicationId", applicationId
def appName = "Conversations Classic"
def appName = "another.im"
resValue "string", "app_name", appName
buildConfigField "String", "APP_NAME", "\"$appName\""
}

View file

@ -1,4 +1,4 @@
The app is renamed to Conversations Classic.
The app is renamed to another.im.
* Numerous small fixes
* Info about PM on MUC details screen

View file

@ -23,7 +23,7 @@ Features:
XMPP Features:
Conversations Classic works with every XMPP server out there. However XMPP is an extensible protocol. These extensions are standardized as well in so called XEPs. Conversations Classic supports a couple of those to make the overall user experience better. There is a chance that your current XMPP server does not support these extensions. Therefore to get the most out of Conversations Classic you should consider either switching to an XMPP server that does or - even better - run your own XMPP server for you and your friends.
another.im works with every XMPP server out there. However XMPP is an extensible protocol. These extensions are standardized as well in so called XEPs. another.im supports a couple of those to make the overall user experience better. There is a chance that your current XMPP server does not support these extensions. Therefore to get the most out of another.im you should consider either switching to an XMPP server that does or - even better - run your own XMPP server for you and your friends.
These XEPs are - as of now:
@ -36,7 +36,7 @@ These XEPs are - as of now:
* XEP-0237: Roster Versioning mainly to save bandwidth on poor mobile connections.
* XEP-0280: Message Carbons which automatically syncs the messages you send to your desktop client and thus allows you to switch seamlessly from your mobile client to your desktop client and back within one conversation.
* XEP-0308: Last Message Correction allows you to edit last message as well as retract it.
* XEP-0313: Message Archive Management synchronize message history with the server. Catch up with messages that were sent while Conversations Classic was offline.
* XEP-0352: Client State Indication lets the server know whether or not Conversations Classic is in the background. Allows the server to save bandwidth by withholding unimportant packages.
* XEP-0313: Message Archive Management synchronize message history with the server. Catch up with messages that were sent while another.im was offline.
* XEP-0352: Client State Indication lets the server know whether or not another.im is in the background. Allows the server to save bandwidth by withholding unimportant packages.
* XEP-0363: HTTP File Upload allows you to share files in conferences and with offline contacts. Requires an additional component on your server.
* XEP-0461: Message Replies provides support of native replies, which also works in many transports (gateways) as well.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 288 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View file

@ -1,4 +1,4 @@
Приложение переименовано в Conversations Classic.
Приложение переименовано в another.im.
* Многочисленные мелкие исправления
* Информация о личных сообщениях в групповом чате на экране сведений

View file

@ -23,7 +23,7 @@
Функции XMPP:
Conversations Classic работает с любым сервером XMPP. Однако, XMPP — расширяемый протокол. Расширения также стандартизированы в так называемых XEP. Conversations Classic поддерживает некоторые из них, дабы улучшить общий опыт использования. Может оказаться, что Ваш текущий сервер XMPP не поддерживает эти расширения. Поэтому, чтобы получить максимум от Conversations Classic, рассмотрите переход на XMPP-сервер с поддержкой этих расширений, или — ещё лучше — запускайте собственный сервер XMPP для себя и своих друзей.
another.im работает с любым сервером XMPP. Однако, XMPP — расширяемый протокол. Расширения также стандартизированы в так называемых XEP. another.im поддерживает некоторые из них, дабы улучшить общий опыт использования. Может оказаться, что Ваш текущий сервер XMPP не поддерживает эти расширения. Поэтому, чтобы получить максимум от another.im, рассмотрите переход на XMPP-сервер с поддержкой этих расширений, или — ещё лучше — запускайте собственный сервер XMPP для себя и своих друзей.
В настоящее время поддерживаются такие XEP:
@ -36,7 +36,7 @@ Conversations Classic работает с любым сервером XMPP. Од
* XEP-0237: Версионирование Списка Контактов, прежде всего для сберегания мобильного трафика.
* XEP-0280: Сообщения под Копирку, автоматически синхронизирует отправленные сообщений на настольный клиент, чем позволяет плавно переключаться между мобильным и настольным клиентами в рамках одного разговора.
* XEP-0308: Исправление Последнего Сообщения, позволяет отредактировать или отозвать сообщение.
* XEP-0313: Управление Архивом Сообщений, синхронизирует историю сообщений с сервером. Узнавайте о сообщениях, отправленных, пока Conversations Classic находился оффлайн.
* XEP-0352: Индикация Состояния Клиента, сообщает серверу, работает ли Conversations Classic в фоновом режиме. Позволяет серверу сберегать пропускную способность, удерживая неважные пакеты.
* XEP-0313: Управление Архивом Сообщений, синхронизирует историю сообщений с сервером. Узнавайте о сообщениях, отправленных, пока another.im находился оффлайн.
* XEP-0352: Индикация Состояния Клиента, сообщает серверу, работает ли another.im в фоновом режиме. Позволяет серверу сберегать пропускную способность, удерживая неважные пакеты.
* XEP-0363: Загрузка Файлов по HTTP, позволяет обмениваться файлами в конференциях и с оффлайн-контактами. Требует дополнительного компонента на Вашем сервере.
* XEP-0461: Ответы на Сообщения, предоставляет поддержку привязанных к сообщению ответов, которые также работают со многими транспортами (мостами).

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View file

@ -1,4 +1,4 @@
Застосунок перейменовано на Conversations Classic.
Застосунок перейменовано на another.im.
* Численні дрібні виправлення
* Інформація про особисті повідомлення в груповому чаті на екрані деталей

View file

@ -23,7 +23,7 @@
Функції XMPP:
Conversations Classic працює з будь-яким сервером XMPP. Проте XMPP — розширюваний протокол. Розширення також стандартизовані в так званих XEP. Conversations Classic підтримує кілька з них, щоб покращити загальний досвід користування. Може виявитися, що Ваш поточний сервер XMPP не підтримує цих розширень. Тому, щоб отримати максимум від Conversations Classic, розгляньте перехід на XMPP-сервер з підтримкою цих розширень або — ще краще — запускайте власний сервер XMPP для себе і своїх друзів.
another.im працює з будь-яким сервером XMPP. Проте XMPP — розширюваний протокол. Розширення також стандартизовані в так званих XEP. another.im підтримує кілька з них, щоб покращити загальний досвід користування. Може виявитися, що Ваш поточний сервер XMPP не підтримує цих розширень. Тому, щоб отримати максимум від another.im, розгляньте перехід на XMPP-сервер з підтримкою цих розширень або — ще краще — запускайте власний сервер XMPP для себе і своїх друзів.
На даний час підтримуються такі XEP:
@ -36,7 +36,7 @@ Conversations Classic працює з будь-яким сервером XMPP.
* XEP-0237: Версіонування Списку Контактів, передусім для заощадження мобільного трафіку.
* XEP-0280: Повідомлення під Копірку, автоматично синхронізує надіслані повідомлення на настільний клієнт, чим дозволяє плавно перемикатися між мобільним і настільним клієнтами в рамках однієї розмови.
* XEP-0308: Виправлення Останнього Повідомлення, дозволяє відредагувати чи відкликати повідомлення.
* XEP-0313: Керування Архівом Повідомлень, синхронізує історію повідомлень із сервером. Дізнавайтеся про повідомлення, надіслані, поки Conversations Classic був офлайн.
* XEP-0352: Індикація Стану Клієнта, повідомляє серверу, чи працює Conversations Classic у фоновому режимі. Дозволяє серверу заощаджувати пропускну здатність, утримуючи неважливі пакети.
* XEP-0313: Керування Архівом Повідомлень, синхронізує історію повідомлень із сервером. Дізнавайтеся про повідомлення, надіслані, поки another.im був офлайн.
* XEP-0352: Індикація Стану Клієнта, повідомляє серверу, чи працює another.im у фоновому режимі. Дозволяє серверу заощаджувати пропускну здатність, утримуючи неважливі пакети.
* XEP-0363: Завантаження Файлів за HTTP, дозволяє обмінюватися файлами в конференціях і з офлайн-контактами. Потребує додаткового компонента на Вашому сервері.
* XEP-0461: Відповіді на Повідомлення, надає підтримку привʼязаних до повідомлення відповідей, які також працюють із багатьма транспортами (мостами).

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
screenshots.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

BIN
screenshots.xcf Normal file

Binary file not shown.

View file

@ -36,6 +36,7 @@ import eu.siacs.conversations.services.XmppConnectionService;
import eu.siacs.conversations.services.XmppConnectionService.OnAccountUpdate;
import eu.siacs.conversations.ui.adapter.AccountAdapter;
import eu.siacs.conversations.ui.util.MenuDoubleTabUtil;
import eu.siacs.conversations.utils.UIHelper;
import eu.siacs.conversations.xmpp.Jid;
import eu.siacs.conversations.xmpp.XmppConnection;
@ -44,8 +45,14 @@ import static eu.siacs.conversations.utils.PermissionUtils.writeGranted;
import com.google.android.material.bottomnavigation.BottomNavigationView;
import com.google.android.material.navigation.NavigationBarView;
import com.kizitonwose.colorpreference.ColorDialog;
import com.kizitonwose.colorpreference.ColorShape;
public class ManageAccountActivity extends XmppActivity implements OnAccountUpdate, KeyChainAliasCallback, XmppConnectionService.OnAccountCreated, AccountAdapter.OnTglAccountState {
public class ManageAccountActivity extends XmppActivity implements OnAccountUpdate,
KeyChainAliasCallback,
XmppConnectionService.OnAccountCreated,
AccountAdapter.OnTglAccountState,
ColorDialog.OnColorSelectedListener {
private final String STATE_SELECTED_ACCOUNT = "selected_account";
@ -61,6 +68,18 @@ public class ManageAccountActivity extends XmppActivity implements OnAccountUpda
protected Pair<Integer, Intent> mPostponedActivityResult = null;
private AccountAdapter.ColorSelectorListener colorSelectorListener = new AccountAdapter.ColorSelectorListener() {
@Override
public void onColorPickerRequested(Jid accountJid, int currentColor) {
new ColorDialog.Builder(ManageAccountActivity.this)
.setColorShape(ColorShape.CIRCLE)
.setColorChoices(R.array.themeColorsOverride)
.setSelectedColor(currentColor)
.setTag(accountJid.asBareJid().toEscapedString())
.show();
}
};
@Override
public void onAccountUpdate() {
refreshUi();
@ -102,7 +121,7 @@ public class ManageAccountActivity extends XmppActivity implements OnAccountUpda
}
accountListView = findViewById(R.id.account_list);
this.mAccountAdapter = new AccountAdapter(this, accountList);
this.mAccountAdapter = new AccountAdapter(this, accountList, colorSelectorListener);
accountListView.setAdapter(this.mAccountAdapter);
accountListView.setOnItemClickListener((arg0, view, position, arg3) -> switchToAccount(accountList.get(position)));
registerForContextMenu(accountListView);
@ -158,6 +177,13 @@ public class ManageAccountActivity extends XmppActivity implements OnAccountUpda
super.onSaveInstanceState(savedInstanceState);
}
@Override
protected void onDestroy() {
super.onDestroy();
colorSelectorListener = null;
mAccountAdapter.colorSelectorListener = null;
}
@Override
public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
super.onCreateContextMenu(menu, v, menuInfo);
@ -349,6 +375,12 @@ public class ManageAccountActivity extends XmppActivity implements OnAccountUpda
}
}
@Override
public void onColorSelected(int newColor, String tag) {
UIHelper.overrideAccountColor(this, tag, newColor);
refreshUiReal();
}
private void addAccountFromKey() {
try {
KeyChain.choosePrivateKeyAlias(this, this, null, null, null, -1, null);

BIN
src/conversations/res/.DS_Store vendored Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="1080"
android:viewportHeight="1080"
android:tint="#FFFFFF">
<group android:scaleX="0.92"
android:scaleY="0.92"
android:translateX="43.2"
android:translateY="43.2">>
<group
android:scaleX="0.95"
android:scaleY="0.95"
android:pivotX="540"
android:pivotY="540">
<path android:fillColor="#FFFFFF" android:fillType="nonZero" android:pathData="M1.3,248C10.3,235.5 24.5,249.6 35.6,252C61.5,261.8 87.3,271.8 113.1,281.7C181.5,310.4 252.6,330.3 323.7,350.2C331.2,352.4 342,355.7 342.7,364.9C342.3,387.8 342.6,410.9 344.9,433.5C349.4,473 358.4,511.3 369.3,549.6C395.9,631.7 434.7,710.2 486,779.8C502.5,803.8 522.2,825.1 541.4,846.9C545,851.9 551,840 553.8,838.5C652.8,730.3 725.2,592.7 745.2,447.1C750.6,422 749.3,394.7 751,368.9C750.4,363.9 748.5,357.6 753,353.4C763.8,344 780,342.7 793.2,337.9C814.8,331.7 835.9,324.8 857.5,318.8C910.2,303.2 961.8,284.6 1012.8,264.1C1030.3,257.9 1047.4,250.9 1064.6,244C1068.4,242.5 1073.6,241.3 1076.4,245.4C1076.9,246.1 1077.6,247 1078.7,247L1078.7,265.9C1055.3,535 852.4,763.9 630.7,902C626.7,905.8 609.7,910.5 616.2,914.4C649.6,941.6 686.4,964.5 725.5,983C748.9,993.9 773,1003.5 798,1010.2C811.8,1012 826,1028 805.7,1033L803.1,1033C741.8,1027.2 680.5,1011.4 623.1,988.3C602.3,980 582,970.4 561.6,961.4C547.7,955.8 540.7,946.2 526.3,957.1C452.7,990.7 373.8,1013.1 294.4,1025.8C293.1,1025.8 291.9,1025.8 290.7,1026.2C284.2,1028.8 274.6,1019.7 280.3,1014.4C287.4,1004.6 300.7,1004.6 311.1,1000.3C326.7,994.8 342.1,988.9 357.3,982.5C397.1,964.2 435.1,941.5 469.7,914.7C473.9,913 458.7,906.2 457.1,904.8C423.7,884.5 391.4,862.5 360.3,838.9C179.2,698.7 20.2,495.8 1.3,261.2Z" android:strokeColor="#00000000" android:strokeLineCap="butt" android:strokeLineJoin="miter" android:strokeWidth="0.5"/>
<path android:fillColor="#FFFFFF" android:fillType="nonZero" android:pathData="M553.7,47C677.9,53 759.1,187.4 698.7,299.1C637.6,418.1 460.9,420.1 395.5,304.1C332.4,190.8 408.6,55.6 536.9,47Z" android:strokeColor="#00000000" android:strokeLineCap="butt" android:strokeLineJoin="miter" android:strokeWidth="0.5"/>
</group>
</group>
</vector>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 809 B

After

Width:  |  Height:  |  Size: 622 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 551 B

After

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 835 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

View file

@ -1,13 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="1146.7721"
android:viewportHeight="1146.7721">
<group
android:translateX="322.69516"
android:translateY="317.38605">
<path
android:fillColor="#ffffff"
android:pathData="M253.219,17.719C126.144,17.719 22.469,118.884 22.469,243.75C22.469,368.616 126.138,469.844 253.219,469.844C292.739,469.844 323.216,461.736 358,449.094L468.469,493.625A14.556,14.562 0,0 0,488.063 476.625L458.125,355.656C477.356,321.886 483.938,283.416 483.938,243.75C483.938,118.887 380.293,17.719 253.219,17.719zM143.844,222C157.651,222 168.844,233.193 168.844,247C168.844,260.807 157.651,272 143.844,272C130.037,272 118.844,260.807 118.844,247C118.844,233.193 130.037,222 143.844,222zM253.563,222C267.37,222 278.563,233.193 278.563,247C278.563,260.807 267.37,272 253.563,272C239.755,272 228.563,260.807 228.563,247C228.563,233.193 239.755,222 253.563,222zM363.563,222C377.37,222 388.563,233.193 388.563,247C388.563,260.807 377.37,272 363.563,272C349.755,272 338.563,260.807 338.563,247C338.563,233.193 349.755,222 363.563,222z" />
</group>
</vector>

View file

@ -1,13 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="1146.7721"
android:viewportHeight="1146.7721">
<group
android:translateX="322.69516"
android:translateY="317.38605">
<path
android:fillColor="#000000"
android:pathData="M253.219,17.719C126.144,17.719 22.469,118.884 22.469,243.75C22.469,368.616 126.138,469.844 253.219,469.844C292.739,469.844 323.216,461.736 358,449.094L468.469,493.625A14.556,14.562 0,0 0,488.063 476.625L458.125,355.656C477.356,321.886 483.938,283.416 483.938,243.75C483.938,118.887 380.293,17.719 253.219,17.719zM143.844,222C157.651,222 168.844,233.193 168.844,247C168.844,260.807 157.651,272 143.844,272C130.037,272 118.844,260.807 118.844,247C118.844,233.193 130.037,222 143.844,222zM253.563,222C267.37,222 278.563,233.193 278.563,247C278.563,260.807 267.37,272 253.563,272C239.755,272 228.563,260.807 228.563,247C228.563,233.193 239.755,222 253.563,222zM363.563,222C377.37,222 388.563,233.193 388.563,247C388.563,260.807 377.37,272 363.563,272C349.755,272 338.563,260.807 338.563,247C338.563,233.193 349.755,222 363.563,222z" />
</group>
</vector>

View file

@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="108dp" android:viewportHeight="1080" android:viewportWidth="1080" android:width="108dp">
<group
android:scaleX="0.8"
android:scaleY="0.8"
android:pivotX="540"
android:pivotY="540">
<path android:fillColor="#FCFDD1" android:fillType="nonZero" android:pathData="M1.3,248C10.3,235.5 24.5,249.6 35.6,252C61.5,261.8 87.3,271.8 113.1,281.7C181.5,310.4 252.6,330.3 323.7,350.2C331.2,352.4 342,355.7 342.7,364.9C342.3,387.8 342.6,410.9 344.9,433.5C349.4,473 358.4,511.3 369.3,549.6C395.9,631.7 434.7,710.2 486,779.8C502.5,803.8 522.2,825.1 541.4,846.9C545,851.9 551,840 553.8,838.5C652.8,730.3 725.2,592.7 745.2,447.1C750.6,422 749.3,394.7 751,368.9C750.4,363.9 748.5,357.6 753,353.4C763.8,344 780,342.7 793.2,337.9C814.8,331.7 835.9,324.8 857.5,318.8C910.2,303.2 961.8,284.6 1012.8,264.1C1030.3,257.9 1047.4,250.9 1064.6,244C1068.4,242.5 1073.6,241.3 1076.4,245.4C1076.9,246.1 1077.6,247 1078.7,247L1078.7,265.9C1055.3,535 852.4,763.9 630.7,902C626.7,905.8 609.7,910.5 616.2,914.4C649.6,941.6 686.4,964.5 725.5,983C748.9,993.9 773,1003.5 798,1010.2C811.8,1012 826,1028 805.7,1033L803.1,1033C741.8,1027.2 680.5,1011.4 623.1,988.3C602.3,980 582,970.4 561.6,961.4C547.7,955.8 540.7,946.2 526.3,957.1C452.7,990.7 373.8,1013.1 294.4,1025.8C293.1,1025.8 291.9,1025.8 290.7,1026.2C284.2,1028.8 274.6,1019.7 280.3,1014.4C287.4,1004.6 300.7,1004.6 311.1,1000.3C326.7,994.8 342.1,988.9 357.3,982.5C397.1,964.2 435.1,941.5 469.7,914.7C473.9,913 458.7,906.2 457.1,904.8C423.7,884.5 391.4,862.5 360.3,838.9C179.2,698.7 20.2,495.8 1.3,261.2Z" android:strokeColor="#00000000" android:strokeLineCap="butt" android:strokeLineJoin="miter" android:strokeWidth="0.5"/>
<path android:fillColor="#FCFDD1" android:fillType="nonZero" android:pathData="M553.7,47C677.9,53 759.1,187.4 698.7,299.1C637.6,418.1 460.9,420.1 395.5,304.1C332.4,190.8 408.6,55.6 536.9,47Z" android:strokeColor="#00000000" android:strokeLineCap="butt" android:strokeLineJoin="miter" android:strokeWidth="0.5"/>
</group>
</vector>

View file

@ -0,0 +1,4 @@
<shape android:shape="oval"
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#52617a"/>
</shape>

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_main_logo_bg"/>
<item
android:gravity="center"
android:width="108dp"
android:height="108dp"
android:drawable="@drawable/ic_main_logo">
</item>
</layer-list>

View file

@ -0,0 +1,15 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<group android:scaleX="0.68"
android:scaleY="0.68"
android:translateX="17.28"
android:translateY="17.28">
<path
android:pathData="M0,0h108v108h-108z"
android:fillColor="#52617a"/>
</group>
</vector>

View file

@ -0,0 +1,21 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="1080"
android:viewportHeight="1080">
<group android:scaleX="0.59"
android:scaleY="0.59"
android:translateX="221.4"
android:translateY="221.4">
<group
android:scaleX="0.8"
android:scaleY="0.8"
android:pivotX="540"
android:pivotY="540">
<path android:fillColor="#FCFDD1" android:fillType="nonZero" android:pathData="M1.3,248C10.3,235.5 24.5,249.6 35.6,252C61.5,261.8 87.3,271.8 113.1,281.7C181.5,310.4 252.6,330.3 323.7,350.2C331.2,352.4 342,355.7 342.7,364.9C342.3,387.8 342.6,410.9 344.9,433.5C349.4,473 358.4,511.3 369.3,549.6C395.9,631.7 434.7,710.2 486,779.8C502.5,803.8 522.2,825.1 541.4,846.9C545,851.9 551,840 553.8,838.5C652.8,730.3 725.2,592.7 745.2,447.1C750.6,422 749.3,394.7 751,368.9C750.4,363.9 748.5,357.6 753,353.4C763.8,344 780,342.7 793.2,337.9C814.8,331.7 835.9,324.8 857.5,318.8C910.2,303.2 961.8,284.6 1012.8,264.1C1030.3,257.9 1047.4,250.9 1064.6,244C1068.4,242.5 1073.6,241.3 1076.4,245.4C1076.9,246.1 1077.6,247 1078.7,247L1078.7,265.9C1055.3,535 852.4,763.9 630.7,902C626.7,905.8 609.7,910.5 616.2,914.4C649.6,941.6 686.4,964.5 725.5,983C748.9,993.9 773,1003.5 798,1010.2C811.8,1012 826,1028 805.7,1033L803.1,1033C741.8,1027.2 680.5,1011.4 623.1,988.3C602.3,980 582,970.4 561.6,961.4C547.7,955.8 540.7,946.2 526.3,957.1C452.7,990.7 373.8,1013.1 294.4,1025.8C293.1,1025.8 291.9,1025.8 290.7,1026.2C284.2,1028.8 274.6,1019.7 280.3,1014.4C287.4,1004.6 300.7,1004.6 311.1,1000.3C326.7,994.8 342.1,988.9 357.3,982.5C397.1,964.2 435.1,941.5 469.7,914.7C473.9,913 458.7,906.2 457.1,904.8C423.7,884.5 391.4,862.5 360.3,838.9C179.2,698.7 20.2,495.8 1.3,261.2Z" android:strokeColor="#00000000" android:strokeLineCap="butt" android:strokeLineJoin="miter" android:strokeWidth="0.5"/>
<path android:fillColor="#FCFDD1" android:fillType="nonZero" android:pathData="M553.7,47C677.9,53 759.1,187.4 698.7,299.1C637.6,418.1 460.9,420.1 395.5,304.1C332.4,190.8 408.6,55.6 536.9,47Z" android:strokeColor="#00000000" android:strokeLineCap="butt" android:strokeLineJoin="miter" android:strokeWidth="0.5"/>
</group>
</group>
</vector>

View file

@ -0,0 +1,21 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="1080"
android:viewportHeight="1080">
<group android:scaleX="0.59"
android:scaleY="0.59"
android:translateX="221.4"
android:translateY="221.4">
<group
android:scaleX="0.8"
android:scaleY="0.8"
android:pivotX="540"
android:pivotY="540">
<path android:fillColor="#000000" android:fillType="nonZero" android:pathData="M1.3,248C10.3,235.5 24.5,249.6 35.6,252C61.5,261.8 87.3,271.8 113.1,281.7C181.5,310.4 252.6,330.3 323.7,350.2C331.2,352.4 342,355.7 342.7,364.9C342.3,387.8 342.6,410.9 344.9,433.5C349.4,473 358.4,511.3 369.3,549.6C395.9,631.7 434.7,710.2 486,779.8C502.5,803.8 522.2,825.1 541.4,846.9C545,851.9 551,840 553.8,838.5C652.8,730.3 725.2,592.7 745.2,447.1C750.6,422 749.3,394.7 751,368.9C750.4,363.9 748.5,357.6 753,353.4C763.8,344 780,342.7 793.2,337.9C814.8,331.7 835.9,324.8 857.5,318.8C910.2,303.2 961.8,284.6 1012.8,264.1C1030.3,257.9 1047.4,250.9 1064.6,244C1068.4,242.5 1073.6,241.3 1076.4,245.4C1076.9,246.1 1077.6,247 1078.7,247L1078.7,265.9C1055.3,535 852.4,763.9 630.7,902C626.7,905.8 609.7,910.5 616.2,914.4C649.6,941.6 686.4,964.5 725.5,983C748.9,993.9 773,1003.5 798,1010.2C811.8,1012 826,1028 805.7,1033L803.1,1033C741.8,1027.2 680.5,1011.4 623.1,988.3C602.3,980 582,970.4 561.6,961.4C547.7,955.8 540.7,946.2 526.3,957.1C452.7,990.7 373.8,1013.1 294.4,1025.8C293.1,1025.8 291.9,1025.8 290.7,1026.2C284.2,1028.8 274.6,1019.7 280.3,1014.4C287.4,1004.6 300.7,1004.6 311.1,1000.3C326.7,994.8 342.1,988.9 357.3,982.5C397.1,964.2 435.1,941.5 469.7,914.7C473.9,913 458.7,906.2 457.1,904.8C423.7,884.5 391.4,862.5 360.3,838.9C179.2,698.7 20.2,495.8 1.3,261.2Z" android:strokeColor="#00000000" android:strokeLineCap="butt" android:strokeLineJoin="miter" android:strokeWidth="0.5"/>
<path android:fillColor="#000000" android:fillType="nonZero" android:pathData="M553.7,47C677.9,53 759.1,187.4 698.7,299.1C637.6,418.1 460.9,420.1 395.5,304.1C332.4,190.8 408.6,55.6 536.9,47Z" android:strokeColor="#00000000" android:strokeLineCap="butt" android:strokeLineJoin="miter" android:strokeWidth="0.5"/>
</group>
</group>
</vector>

View file

@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="216dp" android:viewportHeight="1080" android:viewportWidth="1080" android:width="216dp">
<group
android:scaleX="0.8"
android:scaleY="0.8"
android:pivotX="540"
android:pivotY="540">
<path android:fillColor="#FCFDD1" android:fillType="nonZero" android:pathData="M1.3,248C10.3,235.5 24.5,249.6 35.6,252C61.5,261.8 87.3,271.8 113.1,281.7C181.5,310.4 252.6,330.3 323.7,350.2C331.2,352.4 342,355.7 342.7,364.9C342.3,387.8 342.6,410.9 344.9,433.5C349.4,473 358.4,511.3 369.3,549.6C395.9,631.7 434.7,710.2 486,779.8C502.5,803.8 522.2,825.1 541.4,846.9C545,851.9 551,840 553.8,838.5C652.8,730.3 725.2,592.7 745.2,447.1C750.6,422 749.3,394.7 751,368.9C750.4,363.9 748.5,357.6 753,353.4C763.8,344 780,342.7 793.2,337.9C814.8,331.7 835.9,324.8 857.5,318.8C910.2,303.2 961.8,284.6 1012.8,264.1C1030.3,257.9 1047.4,250.9 1064.6,244C1068.4,242.5 1073.6,241.3 1076.4,245.4C1076.9,246.1 1077.6,247 1078.7,247L1078.7,265.9C1055.3,535 852.4,763.9 630.7,902C626.7,905.8 609.7,910.5 616.2,914.4C649.6,941.6 686.4,964.5 725.5,983C748.9,993.9 773,1003.5 798,1010.2C811.8,1012 826,1028 805.7,1033L803.1,1033C741.8,1027.2 680.5,1011.4 623.1,988.3C602.3,980 582,970.4 561.6,961.4C547.7,955.8 540.7,946.2 526.3,957.1C452.7,990.7 373.8,1013.1 294.4,1025.8C293.1,1025.8 291.9,1025.8 290.7,1026.2C284.2,1028.8 274.6,1019.7 280.3,1014.4C287.4,1004.6 300.7,1004.6 311.1,1000.3C326.7,994.8 342.1,988.9 357.3,982.5C397.1,964.2 435.1,941.5 469.7,914.7C473.9,913 458.7,906.2 457.1,904.8C423.7,884.5 391.4,862.5 360.3,838.9C179.2,698.7 20.2,495.8 1.3,261.2Z" android:strokeColor="#00000000" android:strokeLineCap="butt" android:strokeLineJoin="miter" android:strokeWidth="0.5"/>
<path android:fillColor="#FCFDD1" android:fillType="nonZero" android:pathData="M553.7,47C677.9,53 759.1,187.4 698.7,299.1C637.6,418.1 460.9,420.1 395.5,304.1C332.4,190.8 408.6,55.6 536.9,47Z" android:strokeColor="#00000000" android:strokeLineCap="butt" android:strokeLineJoin="miter" android:strokeWidth="0.5"/>
</group>
</vector>

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/new_launcher_background"/>
<foreground android:drawable="@drawable/new_launcher_foreground"/>
<monochrome android:drawable="@drawable/new_launcher_monochrome"/>
</adaptive-icon>

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/new_launcher_background"/>
<foreground android:drawable="@drawable/new_launcher_foreground"/>
<monochrome android:drawable="@drawable/new_launcher_monochrome"/>
</adaptive-icon>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 842 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

View file

@ -299,6 +299,11 @@
<activity
android:name=".ui.PublishGroupChatProfilePictureActivity"
android:label="@string/group_chat_avatar" />
<activity
android:name=".ui.VerifyOTRActivity"
android:label="@string/verify_otr"
android:exported="false"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ui.ShareWithActivity"
android:exported="true"

View file

@ -15,9 +15,10 @@ import eu.siacs.conversations.xmpp.chatstate.ChatState;
public final class Config {
private static final int UNENCRYPTED = 1;
private static final int OPENPGP = 2;
private static final int OTR = 4;
private static final int OMEMO = 8;
private static final int ENCRYPTION_MASK = UNENCRYPTED | OPENPGP | OMEMO;
private static final int ENCRYPTION_MASK = UNENCRYPTED | OPENPGP | OTR | OMEMO;
public static boolean supportUnencrypted() {
return (ENCRYPTION_MASK & UNENCRYPTED) != 0;
@ -31,6 +32,10 @@ public final class Config {
return (ENCRYPTION_MASK & OMEMO) != 0;
}
public static boolean supportOtr() {
return (ENCRYPTION_MASK & OTR) != 0;
}
public static boolean omemoOnly() {
return !multipleEncryptionChoices() && supportOmemo();
}

Some files were not shown because too many files have changed in this diff Show more