Use libidn for stringprep (Cheogram)

This commit is contained in:
Arne 2023-06-27 14:19:13 +02:00
parent 2e6d60d927
commit fac9b42a3f
2 changed files with 2 additions and 0 deletions

View file

@ -123,6 +123,7 @@ dependencies {
implementation 'androidx.documentfile:documentfile:1.0.1'
implementation 'com.caverock:androidsvg-aar:1.4'
implementation 'org.tomlj:tomlj:1.1.0'
implementation 'org.jxmpp:jxmpp-stringprep-libidn:1.0.3'
}
ext {

View file

@ -1492,6 +1492,7 @@ public class XmppConnectionService extends Service {
@SuppressLint("TrulyRandom")
@Override
public void onCreate() {
org.jxmpp.stringprep.libidn.LibIdnXmppStringprep.setup();
updateNotificationChannels();
setTheme(ThemeHelper.find(this));
ThemeHelper.applyCustomColors(this);