Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
Pavel R. | 411be0a605 | ||
Bohdan Horbeshko | 5f08bc08d0 |
56
README.md
|
@ -1,6 +1,6 @@
|
|||
<h1 align="center">another.im</h1>
|
||||
<h1 align="center">Conversations Classic</h1>
|
||||
|
||||
<p align="center">another.im: the very last word in instant messaging</p>
|
||||
<p align="center">Conversations Classic: the very last word in instant messaging</p>
|
||||
|
||||
## Design principles
|
||||
|
||||
|
@ -28,11 +28,11 @@
|
|||
|
||||
### XMPP Features
|
||||
|
||||
another.im works with every XMPP server out there. However XMPP is an
|
||||
Conversations Classic works with every XMPP server out there. However XMPP is an
|
||||
extensible protocol. These extensions are standardized as well in so called
|
||||
XEP's. another.im supports a couple of these to make the overall user
|
||||
XEP's. Conversations Classic 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 another.im you
|
||||
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. 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 another.im was
|
||||
server. Catch up with messages that were sent while Conversations Classic 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?
|
||||
|
||||
another.im is entirely open source and licensed under GPLv3. So if you are a
|
||||
Conversations Classic 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
|
||||
another.im will automatically look up the SRV records for your domain name
|
||||
Conversations Classic will automatically look up the SRV records for your domain name
|
||||
which can point to any hostname port combination. If your server doesn’t 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
|
||||
another.im.
|
||||
Conversations Classic.
|
||||
|
||||
#### 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 another.im is able to handle. another.im supports
|
||||
a login (SASL) mechanism that Conversations Classic is able to handle. Conversations Classic 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 another.im doesn’t 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 doesn’t like that.
|
||||
This can be fixed by creating a new account in another.im 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 Conversations Classic doesn’t 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 doesn’t like that.
|
||||
This can be fixed by creating a new account in Conversations Classic 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` doesn’t
|
|||
|
||||
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 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.**
|
||||
**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.**
|
||||
|
||||
##### Android <= 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 <= 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 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
|
||||
another.im or can provide you with tips on running your own XMPP server. If
|
||||
Conversations Classic 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. another.im
|
||||
The address book integration was designed to protect your privacy. Conversations Classic
|
||||
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 another.im will use the name and
|
||||
add a Jabber ID to your phones address book Conversations Classic 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 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
|
||||
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
|
||||
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 another.im should be an instant messenger for the future and
|
||||
instead of making another.im compatible with the past we should work on
|
||||
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
|
||||
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
|
||||
another.im is trying to get rid of old behaviours and set an example for
|
||||
Conversations Classic is trying to get rid of old behaviours and set an example for
|
||||
other clients.
|
||||
|
||||
|
||||
#### How do I backup / move another.im to a new device?
|
||||
#### How do I backup / move Conversations Classic to a new device?
|
||||
|
||||
Use the Backup button in the Settings.
|
||||
|
||||
#### another.im is missing a certain feature
|
||||
#### Conversations Classic 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
|
||||
another.im is experimental. This is not because it will make the app unstable
|
||||
Conversations Classic 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 another.im to ensure that.
|
||||
Right now there is no check in Conversations Classic 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. another.im is the only client that uses
|
||||
feature is regarded experimental. Conversations Classic is the only client that uses
|
||||
XEP-0027 with conferences. (The XEP neither specifically allows nor disallows
|
||||
this.)
|
||||
|
||||
|
|
10
build.gradle
|
@ -71,7 +71,6 @@ 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"
|
||||
|
@ -84,7 +83,6 @@ 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'
|
||||
|
@ -104,12 +102,12 @@ android {
|
|||
defaultConfig {
|
||||
minSdkVersion 24
|
||||
targetSdkVersion 34
|
||||
versionCode 42116
|
||||
versionName "2.3.2"
|
||||
versionCode 42115
|
||||
versionName "2.3.1"
|
||||
archivesBaseName += "-$versionName"
|
||||
applicationId "im.narayana.another"
|
||||
applicationId "eu.siacs.conversations.classic"
|
||||
resValue "string", "applicationId", applicationId
|
||||
def appName = "another.im"
|
||||
def appName = "Conversations Classic"
|
||||
resValue "string", "app_name", appName
|
||||
buildConfigField "String", "APP_NAME", "\"$appName\""
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
The app is renamed to another.im.
|
||||
The app is renamed to Conversations Classic.
|
||||
|
||||
* Numerous small fixes
|
||||
* Info about PM on MUC details screen
|
||||
|
|
|
@ -23,7 +23,7 @@ Features:
|
|||
|
||||
XMPP Features:
|
||||
|
||||
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. 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.
|
||||
Conversations Classic 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 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.
|
||||
|
||||
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 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-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-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.
|
||||
|
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 93 KiB |
Before Width: | Height: | Size: 109 KiB After Width: | Height: | Size: 109 KiB |
Before Width: | Height: | Size: 288 KiB After Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 227 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 107 KiB |
Before Width: | Height: | Size: 202 KiB After Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 230 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 56 KiB |
|
@ -1,4 +1,4 @@
|
|||
Приложение переименовано в another.im.
|
||||
Приложение переименовано в Conversations Classic.
|
||||
|
||||
* Многочисленные мелкие исправления
|
||||
* Информация о личных сообщениях в групповом чате на экране сведений
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
Функции XMPP:
|
||||
|
||||
another.im работает с любым сервером XMPP. Однако, XMPP — расширяемый протокол. Расширения также стандартизированы в так называемых XEP. another.im поддерживает некоторые из них, дабы улучшить общий опыт использования. Может оказаться, что Ваш текущий сервер XMPP не поддерживает эти расширения. Поэтому, чтобы получить максимум от another.im, рассмотрите переход на XMPP-сервер с поддержкой этих расширений, или — ещё лучше — запускайте собственный сервер XMPP для себя и своих друзей.
|
||||
Conversations Classic работает с любым сервером XMPP. Однако, XMPP — расширяемый протокол. Расширения также стандартизированы в так называемых XEP. Conversations Classic поддерживает некоторые из них, дабы улучшить общий опыт использования. Может оказаться, что Ваш текущий сервер XMPP не поддерживает эти расширения. Поэтому, чтобы получить максимум от Conversations Classic, рассмотрите переход на XMPP-сервер с поддержкой этих расширений, или — ещё лучше — запускайте собственный сервер XMPP для себя и своих друзей.
|
||||
|
||||
В настоящее время поддерживаются такие XEP:
|
||||
|
||||
|
@ -36,7 +36,7 @@ another.im работает с любым сервером XMPP. Однако, X
|
|||
* XEP-0237: Версионирование Списка Контактов, прежде всего для сберегания мобильного трафика.
|
||||
* XEP-0280: Сообщения под Копирку, автоматически синхронизирует отправленные сообщений на настольный клиент, чем позволяет плавно переключаться между мобильным и настольным клиентами в рамках одного разговора.
|
||||
* XEP-0308: Исправление Последнего Сообщения, позволяет отредактировать или отозвать сообщение.
|
||||
* XEP-0313: Управление Архивом Сообщений, синхронизирует историю сообщений с сервером. Узнавайте о сообщениях, отправленных, пока another.im находился оффлайн.
|
||||
* XEP-0352: Индикация Состояния Клиента, сообщает серверу, работает ли another.im в фоновом режиме. Позволяет серверу сберегать пропускную способность, удерживая неважные пакеты.
|
||||
* XEP-0313: Управление Архивом Сообщений, синхронизирует историю сообщений с сервером. Узнавайте о сообщениях, отправленных, пока Conversations Classic находился оффлайн.
|
||||
* XEP-0352: Индикация Состояния Клиента, сообщает серверу, работает ли Conversations Classic в фоновом режиме. Позволяет серверу сберегать пропускную способность, удерживая неважные пакеты.
|
||||
* XEP-0363: Загрузка Файлов по HTTP, позволяет обмениваться файлами в конференциях и с оффлайн-контактами. Требует дополнительного компонента на Вашем сервере.
|
||||
* XEP-0461: Ответы на Сообщения, предоставляет поддержку привязанных к сообщению ответов, которые также работают со многими транспортами (мостами).
|
||||
|
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 126 KiB |
Before Width: | Height: | Size: 256 KiB After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 227 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 98 KiB |
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 230 KiB After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 57 KiB |
|
@ -1,4 +1,4 @@
|
|||
Застосунок перейменовано на another.im.
|
||||
Застосунок перейменовано на Conversations Classic.
|
||||
|
||||
* Численні дрібні виправлення
|
||||
* Інформація про особисті повідомлення в груповому чаті на екрані деталей
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
Функції XMPP:
|
||||
|
||||
another.im працює з будь-яким сервером XMPP. Проте XMPP — розширюваний протокол. Розширення також стандартизовані в так званих XEP. another.im підтримує кілька з них, щоб покращити загальний досвід користування. Може виявитися, що Ваш поточний сервер XMPP не підтримує цих розширень. Тому, щоб отримати максимум від another.im, розгляньте перехід на XMPP-сервер з підтримкою цих розширень або — ще краще — запускайте власний сервер XMPP для себе і своїх друзів.
|
||||
Conversations Classic працює з будь-яким сервером XMPP. Проте XMPP — розширюваний протокол. Розширення також стандартизовані в так званих XEP. Conversations Classic підтримує кілька з них, щоб покращити загальний досвід користування. Може виявитися, що Ваш поточний сервер XMPP не підтримує цих розширень. Тому, щоб отримати максимум від Conversations Classic, розгляньте перехід на XMPP-сервер з підтримкою цих розширень або — ще краще — запускайте власний сервер XMPP для себе і своїх друзів.
|
||||
|
||||
На даний час підтримуються такі XEP:
|
||||
|
||||
|
@ -36,7 +36,7 @@ another.im працює з будь-яким сервером XMPP. Проте X
|
|||
* XEP-0237: Версіонування Списку Контактів, передусім для заощадження мобільного трафіку.
|
||||
* XEP-0280: Повідомлення під Копірку, автоматично синхронізує надіслані повідомлення на настільний клієнт, чим дозволяє плавно перемикатися між мобільним і настільним клієнтами в рамках однієї розмови.
|
||||
* XEP-0308: Виправлення Останнього Повідомлення, дозволяє відредагувати чи відкликати повідомлення.
|
||||
* XEP-0313: Керування Архівом Повідомлень, синхронізує історію повідомлень із сервером. Дізнавайтеся про повідомлення, надіслані, поки another.im був офлайн.
|
||||
* XEP-0352: Індикація Стану Клієнта, повідомляє серверу, чи працює another.im у фоновому режимі. Дозволяє серверу заощаджувати пропускну здатність, утримуючи неважливі пакети.
|
||||
* XEP-0313: Керування Архівом Повідомлень, синхронізує історію повідомлень із сервером. Дізнавайтеся про повідомлення, надіслані, поки Conversations Classic був офлайн.
|
||||
* XEP-0352: Індикація Стану Клієнта, повідомляє серверу, чи працює Conversations Classic у фоновому режимі. Дозволяє серверу заощаджувати пропускну здатність, утримуючи неважливі пакети.
|
||||
* XEP-0363: Завантаження Файлів за HTTP, дозволяє обмінюватися файлами в конференціях і з офлайн-контактами. Потребує додаткового компонента на Вашому сервері.
|
||||
* XEP-0461: Відповіді на Повідомлення, надає підтримку привʼязаних до повідомлення відповідей, які також працюють із багатьма транспортами (мостами).
|
||||
|
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 73 KiB |
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 100 KiB |
Before Width: | Height: | Size: 245 KiB After Width: | Height: | Size: 85 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 227 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 103 KiB |
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 230 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 54 KiB |
BIN
screenshots.png
Before Width: | Height: | Size: 171 KiB |
BIN
screenshots.xcf
|
@ -36,7 +36,6 @@ 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;
|
||||
|
||||
|
@ -45,14 +44,8 @@ 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,
|
||||
ColorDialog.OnColorSelectedListener {
|
||||
public class ManageAccountActivity extends XmppActivity implements OnAccountUpdate, KeyChainAliasCallback, XmppConnectionService.OnAccountCreated, AccountAdapter.OnTglAccountState {
|
||||
|
||||
private final String STATE_SELECTED_ACCOUNT = "selected_account";
|
||||
|
||||
|
@ -68,18 +61,6 @@ 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();
|
||||
|
@ -121,7 +102,7 @@ public class ManageAccountActivity extends XmppActivity implements OnAccountUpda
|
|||
}
|
||||
|
||||
accountListView = findViewById(R.id.account_list);
|
||||
this.mAccountAdapter = new AccountAdapter(this, accountList, colorSelectorListener);
|
||||
this.mAccountAdapter = new AccountAdapter(this, accountList);
|
||||
accountListView.setAdapter(this.mAccountAdapter);
|
||||
accountListView.setOnItemClickListener((arg0, view, position, arg3) -> switchToAccount(accountList.get(position)));
|
||||
registerForContextMenu(accountListView);
|
||||
|
@ -177,13 +158,6 @@ 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);
|
||||
|
@ -375,12 +349,6 @@ 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
|
@ -1,22 +0,0 @@
|
|||
<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>
|
Before Width: | Height: | Size: 622 B After Width: | Height: | Size: 809 B |
BIN
src/conversations/res/drawable-hdpi/main_logo.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
src/conversations/res/drawable-hdpi/splash_logo.png
Normal file
After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 414 B After Width: | Height: | Size: 551 B |
BIN
src/conversations/res/drawable-mdpi/main_logo.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
src/conversations/res/drawable-mdpi/splash_logo.png
Normal file
After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 835 B After Width: | Height: | Size: 1 KiB |
BIN
src/conversations/res/drawable-xhdpi/main_logo.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
src/conversations/res/drawable-xhdpi/splash_logo.png
Normal file
After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
src/conversations/res/drawable-xxhdpi/main_logo.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
src/conversations/res/drawable-xxhdpi/splash_logo.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
src/conversations/res/drawable-xxxhdpi/ic_notification.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
src/conversations/res/drawable-xxxhdpi/main_logo.png
Normal file
After Width: | Height: | Size: 70 KiB |
BIN
src/conversations/res/drawable-xxxhdpi/splash_logo.png
Normal file
After Width: | Height: | Size: 48 KiB |
13
src/conversations/res/drawable/ic_launcher_foreground.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<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>
|
13
src/conversations/res/drawable/ic_launcher_monochrome.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<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>
|
|
@ -1,13 +0,0 @@
|
|||
<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>
|
|
@ -1,4 +0,0 @@
|
|||
<shape android:shape="oval"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#52617a"/>
|
||||
</shape>
|
|
@ -1,12 +0,0 @@
|
|||
<?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>
|
|
@ -1,15 +0,0 @@
|
|||
<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>
|
|
@ -1,21 +0,0 @@
|
|||
<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>
|
|
@ -1,21 +0,0 @@
|
|||
<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>
|
|
@ -1,12 +0,0 @@
|
|||
<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>
|
|
@ -1,6 +0,0 @@
|
|||
<?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>
|
|
@ -1,6 +0,0 @@
|
|||
<?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>
|
BIN
src/conversations/res/mipmap-hdpi/new_launcher.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.3 KiB |
BIN
src/conversations/res/mipmap-hdpi/new_launcher_round.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 2.7 KiB |
BIN
src/conversations/res/mipmap-mdpi/new_launcher.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 842 B |
BIN
src/conversations/res/mipmap-mdpi/new_launcher_round.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 1.8 KiB |
BIN
src/conversations/res/mipmap-xhdpi/new_launcher.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 1.7 KiB |
BIN
src/conversations/res/mipmap-xhdpi/new_launcher_round.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 3.8 KiB |
BIN
src/conversations/res/mipmap-xxhdpi/new_launcher.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 2.6 KiB |
BIN
src/conversations/res/mipmap-xxhdpi/new_launcher_round.png
Normal file
After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 6.2 KiB |
BIN
src/conversations/res/mipmap-xxxhdpi/new_launcher.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 3.4 KiB |
BIN
src/conversations/res/mipmap-xxxhdpi/new_launcher_round.png
Normal file
After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 8.6 KiB |
|
@ -299,11 +299,6 @@
|
|||
<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"
|
||||
|
|
|
@ -15,10 +15,9 @@ 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 | OTR | OMEMO;
|
||||
private static final int ENCRYPTION_MASK = UNENCRYPTED | OPENPGP | OMEMO;
|
||||
|
||||
public static boolean supportUnencrypted() {
|
||||
return (ENCRYPTION_MASK & UNENCRYPTED) != 0;
|
||||
|
@ -32,10 +31,6 @@ 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();
|
||||
}
|
||||
|
|