wire up message loading
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user