Comments (2)
looking into now... in short, at the top of ContactListTreeAdapter you have a bunch queries specified which power these views:
private static final String NON_CHAT_AND_BLOCKED_CONTACTS = "("
+ Imps.Contacts.LAST_MESSAGE_DATE + " IS NULL) AND ("
+ Imps.Contacts.TYPE + "!=" + Imps.Contacts.TYPE_BLOCKED + ")";
private static final String BLOCKED_CONTACTS = "("
+ Imps.Contacts.TYPE + "!=" + Imps.Contacts.TYPE_BLOCKED + ")";
private static final String CONTACTS_SELECTION = Imps.Contacts.CONTACTLIST
+ "=? AND " + BLOCKED_CONTACTS;
private static final String ONLINE_CONTACT_SELECTION = CONTACTS_SELECTION
+ " AND "+ Imps.Contacts.PRESENCE_STATUS + " != " + Imps.Presence.OFFLINE;
from chatsecureandroid.
okay this is working now, but the "buddy" or contact shows up with a chat background in the Contact list. not a blocker, but something to consider.
i think we can actually make it light up with a green background or something of that nature, to indicate there is an active session.
from chatsecureandroid.
Related Issues (20)
- 导入异常
- Problem to connect with kayako chatgateway
- Can't update and build project HOT 1
- Transfer files between chatsecure and gajim / adium
- ChatSecure does not accept the CA signed certificate
- Problem with file transfer
- Voiceclips and File Attachments Not Being Received While Pictures Are Received HOT 3
- resource leak: database cursor not closed HOT 1
- Not support Android 6
- Problem in multi chat
- F-Droid HOT 1
- zh-TW translation revision suggestion
- F-droid repo - update
- Google blocks sign-in attempt from ChatSecure
- Kill this Repo HOT 2
- Audio issue
- We can recycle the bitmap object timely
- Audio/Video support through Jingle
- Chat secure 14.3
- ssl handshak problem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatsecureandroid.