Skip to content

Commit

Permalink
Send replies to the correct thread when retrying a failed message
Browse files Browse the repository at this point in the history
  • Loading branch information
c99koder committed Dec 16, 2022
1 parent e09966d commit ed8d17e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ android {
testBuildType "mockdata"

defaultConfig {
versionCode 338
versionCode 339
versionName "4.29"
minSdkVersion 22
targetSdkVersion 31
Expand Down
4 changes: 2 additions & 2 deletions src/com/irccloud/android/activity/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -5538,8 +5538,8 @@ public void onIRCResult(IRCCloudJSONObject result) {
}
}
};
if(msgid != null)
e.reqid = NetworkConnection.getInstance().reply(e.cid, e.chan, e.command, msgid, callback);
if(e.is_reply)
e.reqid = NetworkConnection.getInstance().reply(e.cid, e.chan, e.command, e.reply, callback);
else
e.reqid = NetworkConnection.getInstance().say(e.cid, e.chan, e.command, callback);
if (e.reqid >= 0) {
Expand Down

0 comments on commit ed8d17e

Please sign in to comment.