Private
Public Access
1
0

wire up message loading

This commit is contained in:
2025-04-30 19:50:36 -07:00
parent 4c7c31ab8d
commit a7e88bd3c3
8 changed files with 69 additions and 21 deletions

View File

@@ -23,7 +23,7 @@ private class MessageLayout : Object
this.max_width = max_width;
this.parent = parent;
layout = parent.create_pango_layout(message.content);
layout = parent.create_pango_layout(message.text);
// Set text attributes
var font_desc = Pango.FontDescription.from_string(font_description);
@@ -35,7 +35,7 @@ private class MessageLayout : Object
public bool from_me {
get {
return message.sender == null;
return message.from_me;
}
}