aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-11-11 09:30:52 +0100
committerChristian Schneppe <christian@pix-art.de>2018-11-11 09:39:02 +0100
commitd693a29586586b46588885a711b446748344e180 (patch)
treeab717dda0d4d1004aa8d4ba2d4d1f4dd639226ea /src/main
parentab9e3a0085534325fc903691eba99e17c4b911b0 (diff)
try to fix a crash with emojicompat
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java b/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java
index 901972c80..745ed67c7 100644
--- a/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java
@@ -385,7 +385,7 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers
if (owner || printableValue(name)) {
this.binding.mucEditTitle.setVisibility(View.VISIBLE);
if (name != null) {
- this.binding.mucEditTitle.append(name);
+ this.binding.mucEditTitle.append(EmojiWrapper.transform(name));
}
} else {
this.binding.mucEditTitle.setVisibility(View.GONE);
@@ -394,7 +394,7 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers
final String subject = mucOptions.getSubject();
this.binding.mucEditSubject.setText("");
if (subject != null) {
- this.binding.mucEditSubject.append(subject);
+ this.binding.mucEditSubject.append(EmojiWrapper.transform(subject));
}
this.binding.mucEditSubject.setEnabled(mucOptions.canChangeSubject());
if (!owner) {