mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-26 02:42:16 -05:00
Fixed bug in Channel.pollBufferedMessages() - Messages were polled in the wrong order
This commit is contained in:
parent
8cec5b100d
commit
ff1ccb7aea
@ -93,7 +93,9 @@ public class Channel
|
|||||||
*/
|
*/
|
||||||
public Message pollBufferedMessage()
|
public Message pollBufferedMessage()
|
||||||
{
|
{
|
||||||
return buffer.poll();
|
Message message = buffer.getLast();
|
||||||
|
buffer.removeLast();
|
||||||
|
return message;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user