mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 14:38:49 +00:00
Base64 decode redis messages
This commit is contained in:
1 parent
6d466fb42f
commit
397d2751dc
1 file changed
+1
-1
@@ -54,7 +54,7 @@ public class RedisMessageService implements MessageService {
|
||||
this.publishSync = publishConnection.sync();
|
||||
|
||||
subscribeConnection.addListener((RedisListener)(channel, message) -> {
|
||||
ByteArrayDataInput input = ByteStreams.newDataInput(message.getBytes());
|
||||
ByteArrayDataInput input = ByteStreams.newDataInput(Base64.getDecoder().decode(message));
|
||||
|
||||
UUID messageUUID = new UUID(input.readLong(), input.readLong());
|
||||
|
||||
|
||||
Reference in new issue
Block a user