aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/gultsch/chat/persistance/DatabaseBackend.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-02-11 15:34:24 +0100
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-02-11 15:34:24 +0100
commitf6a6982bd0232fed847d4d32103a999aa6f94cd5 (patch)
tree8ef7c15227cd93f41652b550f243882737143dd1 /src/de/gultsch/chat/persistance/DatabaseBackend.java
parent962263e6e65b327cca64a443649f3490b0df3a31 (diff)
conference histories are now working. only the actually needed history is queried
Diffstat (limited to 'src/de/gultsch/chat/persistance/DatabaseBackend.java')
-rw-r--r--src/de/gultsch/chat/persistance/DatabaseBackend.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/de/gultsch/chat/persistance/DatabaseBackend.java b/src/de/gultsch/chat/persistance/DatabaseBackend.java
index b3290ee0..f746f447 100644
--- a/src/de/gultsch/chat/persistance/DatabaseBackend.java
+++ b/src/de/gultsch/chat/persistance/DatabaseBackend.java
@@ -229,6 +229,10 @@ public class DatabaseBackend extends SQLiteOpenHelper {
}
}
}
+
+ public void mergeMessageIntoConversation(Message message) {
+ // select counterpart,body,(timeSent/1000)-180 as min,(timeSent/1000)+180 as max from messages where min<1392035670 and max>1392035670;
+ }
public List<Contact> getContacts(Account account) {
List<Contact> list = new ArrayList<Contact>();