Skip to content

Add suggestion #65

Description

@Barzan-Dawood

💥 Proposal

(A clear and concise description of what the proposal is.)

Have you read the Contributing Guidelines ?

(yes)

I have the idea of ​​adding an icon to read the message for whoever the recipient sees from the sender !
in the form of the following:

//update read status of message
static Future updateMessageReadStatus(Message message) async {
firestore
.collection('chats/${getConversationID(message.fromId)}/messages/')
.doc(message.sent)
.update({'read': DateTime.now().millisecondsSinceEpoch.toString()});
}

if (widget.message.read.isNotEmpty)
const Icon(Icons.done_all_rounded, color: Colors.blue, size: 20),

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions