add log line for when id can't be found for reaction

Daniel Gultsch created

Change summary

src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | 5 
1 file changed, 3 insertions(+), 2 deletions(-)

Detailed changes

src/main/java/eu/siacs/conversations/services/XmppConnectionService.java 🔗

@@ -5721,13 +5721,13 @@ public class XmppConnectionService extends Service {
             if (conversation.getMode() == Conversational.MODE_MULTI && !isPrivateMessage) {
                 final var mucOptions = conversation.getMucOptions();
                 if (!mucOptions.participating()) {
-                    Log.d(Config.LOGTAG, "not participating in MUC");
+                    Log.e(Config.LOGTAG, "not participating in MUC");
                     return false;
                 }
                 final var self = mucOptions.getSelf();
                 final String occupantId = self.getOccupantId();
                 if (Strings.isNullOrEmpty(occupantId)) {
-                    Log.d(Config.LOGTAG, "occupant id not found for reaction in MUC");
+                    Log.e(Config.LOGTAG, "occupant id not found for reaction in MUC");
                     return false;
                 }
                 final var existingRaw =
@@ -5771,6 +5771,7 @@ public class XmppConnectionService extends Service {
                                 conversation.getAccount().getJid());
             }
             if (reactTo == null || Strings.isNullOrEmpty(reactToId)) {
+                Log.e(Config.LOGTAG, "could not find id to react to");
                 return false;
             }
             final var reactionMessage =