aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorChristian Schneppe <christian.schneppe@pix-art.de>2019-10-27 01:21:36 +0200
committerChristian Schneppe <christian.schneppe@pix-art.de>2019-10-27 01:21:36 +0200
commitf2ceba6a90c479702caeb6a68137d7b9fe999399 (patch)
treeb475cdffe126a6c722aaf124980276b09c6f5e6b /src/main/java
parent6929196af092405997cbdb27186171dfe8ed6d42 (diff)
fix crash in SearchActivity
Diffstat (limited to '')
-rw-r--r--src/main/java/de/pixart/messenger/ui/SearchActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/SearchActivity.java b/src/main/java/de/pixart/messenger/ui/SearchActivity.java
index 3b837427d..f1a070591 100644
--- a/src/main/java/de/pixart/messenger/ui/SearchActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/SearchActivity.java
@@ -149,7 +149,7 @@ public class SearchActivity extends XmppActivity implements TextWatcher, OnSearc
@Override
public boolean onContextItemSelected(MenuItem item) {
final Message message = selectedMessageReference.get();
- final String user = selectedMessageReference.get().getContact().getDisplayName();
+ final String user = selectedMessageReference.get().getConversation().getContact().getDisplayName();
if (message != null) {
switch (item.getItemId()) {
case R.id.open_conversation: