diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-25 16:24:56 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-25 16:24:56 +0200 |
commit | bf2d0d5596a08872230056d056241ee906962171 (patch) | |
tree | 08f722037b19e7a94985360874f7de2f646b2f13 /src/eu/siacs/conversations/entities | |
parent | 18c183a7676e24fa3141a50f628688a0a690f259 (diff) |
smoother scrolling (first step)
Diffstat (limited to 'src/eu/siacs/conversations/entities')
-rw-r--r-- | src/eu/siacs/conversations/entities/Conversation.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/entities/Conversation.java b/src/eu/siacs/conversations/entities/Conversation.java index 6eb688aea..0f4d24e59 100644 --- a/src/eu/siacs/conversations/entities/Conversation.java +++ b/src/eu/siacs/conversations/entities/Conversation.java @@ -116,7 +116,9 @@ public class Conversation extends AbstractEntity { message.setTime(getCreated()); return message; } else { - return this.messages.get(this.messages.size() - 1); + Message message = this.messages.get(this.messages.size() - 1); + message.setConversation(this); + return message; } } |