1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-08-13 16:53:50 -04:00

Fixed bug in Channel.pollBufferedMessages() - Messages were polled in the wrong order

This commit is contained in:
Sebastian Kaspari 2010-03-09 20:22:19 +01:00
parent 8cec5b100d
commit ff1ccb7aea

View File

@ -93,7 +93,9 @@ public class Channel
*/
public Message pollBufferedMessage()
{
return buffer.poll();
Message message = buffer.getLast();
buffer.removeLast();
return message;
}
/**