Small chatbox api improvement
Small improvement to the chatbox api by making currentRoom explicit and removing redundant properties.
This commit is contained in:
@@ -95,6 +95,7 @@ Kirigami.Page {
|
||||
sourceComponent: ChatBox {
|
||||
id: chatBox
|
||||
width: parent.width
|
||||
currentRoom: currentRoom
|
||||
onMessageSent: {
|
||||
if (!timelineViewLoader.item.atYEnd) {
|
||||
timelineViewLoader.item.goToLastMessage();
|
||||
|
||||
Reference in New Issue
Block a user