git » sdk » commit 8bb1d4a

Documented this are being the other way around

author Stephen Paul Weber
2024-06-24 20:24:19 UTC
committer Stephen Paul Weber
2024-06-24 20:24:19 UTC
parent b1fd46a002e7d936386c7286020f67e23c5f2c49

Documented this are being the other way around

snikket/Chat.hx +1 -1

diff --git a/snikket/Chat.hx b/snikket/Chat.hx
index 4e938f0..add4521 100644
--- a/snikket/Chat.hx
+++ b/snikket/Chat.hx
@@ -749,7 +749,7 @@ class Channel extends Chat {
 		} else {
 			final nick = JID.parse(participantId).resource;
 			final photoUri = Color.defaultPhoto(participantId, nick == null ? " " : nick.charAt(0));
-			callback(photoUri, nick);
+			callback(nick, photoUri);
 		}
 	}