Delta Chat Core C Interface
Loading...
Searching...
No Matches
DC_FRESHNESS

These constants describe the freshness of a contact, as returned by dc_contact_get_freshness(). More...

Macros

#define DC_FRESHNESS_NORMAL   0
 Contact shall not be highlighted, e.g.
#define DC_FRESHNESS_OLD   2
 Contact was not seen for a long time, the UI shall highlight it e.g.
#define DC_FRESHNESS_RECENTLY_SEEN   1
 Contact was seen recently, the UI shall highlight it e.g.

Detailed Description

These constants describe the freshness of a contact, as returned by dc_contact_get_freshness().

Macro Definition Documentation

◆ DC_FRESHNESS_NORMAL

#define DC_FRESHNESS_NORMAL   0

Contact shall not be highlighted, e.g.

neither shown with a "seen recently" dot nor with a "not seen for a long time" hint.

◆ DC_FRESHNESS_OLD

#define DC_FRESHNESS_OLD   2

Contact was not seen for a long time, the UI shall highlight it e.g.

with a string below the contact name (e.g. "Seen 2 months ago").

◆ DC_FRESHNESS_RECENTLY_SEEN

#define DC_FRESHNESS_RECENTLY_SEEN   1

Contact was seen recently, the UI shall highlight it e.g.

with a little green dot on the avatar.