]> nmode's Git Repositories - signal-cli/commitdiff
Fix sendReaction to group (#580)
authorAdaptive Garage <adaptivegarage@users.noreply.github.com>
Wed, 24 Mar 2021 20:49:03 +0000 (21:49 +0100)
committerGitHub <noreply@github.com>
Wed, 24 Mar 2021 20:49:03 +0000 (21:49 +0100)
Co-authored-by: rknotek <roman.knotek@comint.cz>
src/main/java/org/asamk/signal/commands/SendReactionCommand.java

index b9cbc0473adb2f2d8ed8391c774091c2fbf1b6f2..ba40488ab3f2c778fe757266dc4bf0c2b44e6b8e 100644 (file)
@@ -67,7 +67,7 @@ public class SendReactionCommand implements LocalCommand {
         final Pair<Long, List<SendMessageResult>> results;
 
         GroupId groupId = null;
-        if (groupId != null) {
+        if (groupIdString != null) {
             try {
                 groupId = Util.decodeGroupId(groupIdString);
             } catch (GroupIdFormatException e) {