Connection
- Handle message sending - Set the status to delivered
This commit is contained in:
parent
0096b7d4ac
commit
b120ba19e4
|
@ -289,7 +289,12 @@ public class Connection : Thread
|
|||
mesgMan.sendq(message);
|
||||
}
|
||||
|
||||
// TODO: Set this ONLY if we succeeeded in delivery
|
||||
chanMesg.messageDelivered();
|
||||
|
||||
mType = MessageType.CLIENT_TO_SERVER;
|
||||
responseType = CommandType.SEND_CHANNEL_MESG_REP;
|
||||
responseCommand = chanMesg;
|
||||
}
|
||||
// Unsupported type for server
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue