Work fork of an Android Jabber client for bridge users git.sr.ht/~singpolyma/cheogram-android
sopranica sgx xmpp jabber
0

Configure Feed

Select the types of activity you want to include in your feed.

Google wants us to say we upload contacts, even though we don't

Stephen Paul Weber (Mar 11, 2024, 2:27 PM -0500) fc9f0ec0 308e54f4

+18 -2
+14 -2
src/main/java/eu/siacs/conversations/generator/IqGenerator.java
··· 38 38 import eu.siacs.conversations.entities.DownloadableFile; 39 39 import eu.siacs.conversations.entities.Message; 40 40 import eu.siacs.conversations.services.MessageArchiveService; 41 + import eu.siacs.conversations.services.QuickConversationsService; 41 42 import eu.siacs.conversations.services.XmppConnectionService; 42 43 import eu.siacs.conversations.xml.Element; 43 44 import eu.siacs.conversations.xml.Namespace; ··· 73 74 Element query = packet.query("jabber:iq:version"); 74 75 query.addChild("name").setContent(mXmppConnectionService.getString(R.string.app_name)); 75 76 query.addChild("version").setContent(getIdentityVersion()); 77 + final StringBuilder os = new StringBuilder(); 76 78 if ("chromium".equals(android.os.Build.BRAND)) { 77 - query.addChild("os").setContent("Chrome OS"); 79 + os.append("Chrome OS"); 78 80 } else { 79 - query.addChild("os").setContent("Android"); 81 + os.append("Android"); 82 + } 83 + os.append(" "); 84 + os.append(android.os.Build.VERSION.RELEASE); 85 + if (QuickConversationsService.isPlayStoreFlavor()) { 86 + os.append(" ("); 87 + os.append(android.os.Build.BOARD); 88 + os.append(", "); 89 + os.append(android.os.Build.FINGERPRINT); 90 + os.append(")"); 91 + query.addChild("os").setContent(os.toString()); 80 92 } 81 93 return packet; 82 94 }
+4
src/playstore/res/values/strings.xml
··· 1 + <?xml version="1.0" encoding="utf-8"?> 2 + <resources> 3 + <string name="sync_with_contacts_long">%1$s processes your contact list locally, on your device, to show you the names and profile pictures for matching contacts on the Jabber network.\n\nThis will upload your contact list to the server.</string> 4 + </resources>