undo community hack

This commit is contained in:
adbenitez
2025-04-27 02:11:35 +02:00
parent efbe43ec70
commit ad6f232d34
26 changed files with 31 additions and 386 deletions
@@ -245,23 +245,6 @@ public class DcContext {
return displayname;
}
public boolean isCommunity() {
return getConfigInt("is_community") == 1;
}
public void setCommunityMode(boolean enable) {
setConfig("is_community", enable? "1" : null);
}
public String getCommunityUser() {
String name = getConfig("ui.community.selfname");
return name == null? "" : name;
}
public void setCommunityUser(String name) {
setConfig("ui.community.selfname", name);
}
public boolean isChatmail() {
return getConfigInt("is_chatmail") == 1;
}
@@ -169,7 +169,6 @@ public class DcMsg {
public native String getQuotedText ();
public native String getError ();
public native String getOverrideSenderName();
public native int getSenderColor();
public native boolean isEdited ();
public String getSenderName(DcContact dcContact) {