1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-06-17 05:18:38 -04:00

Fixed another msgNo int issue

This commit is contained in:
2023-09-29 15:40:42 -04:00
parent 9bdfd166fd
commit 751bbc2514
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -131,9 +131,9 @@ class WebChatProcessPacketThread(rx.APRSDProcessPacketThread):
def process_ack_packet(self, packet: packets.AckPacket):
super().process_ack_packet(packet)
ack_num = packet.get("msgNo")
SentMessages().ack(int(ack_num))
SentMessages().ack(ack_num)
self.socketio.emit(
"ack", SentMessages().get(int(ack_num)),
"ack", SentMessages().get(ack_num),
namespace="/sendmsg",
)
self.got_ack = True
-1
View File
@@ -34,7 +34,6 @@ function init_chat() {
console.log("SENT: ");
console.log(msg);
if (cleared === false) {
console.log("CLEARING #msgsTabsDiv");
var msgsdiv = $("#msgsTabsDiv");
msgsdiv.html('');
cleared = true;