badoo / badoo/Chatto

For Group Chat

Open
#413 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
4.6k
Forks
588
PR merge metrics
No merged PRs in 30d

Description

i am trying to show each user avatar and name on my back-end i did something like this https://github.com/PerfectExamples/Perfect-Chat-Demo/blob/master/Sources/ChatUser.swift

so is it possible if yes please show some code how i can do it thanks advance

i can do something but it does not help me
```
if textmessageViewModal.isIncoming {
textmessageViewModal.avatarImage.value = UIImage(named: "avatar")
} else {
ImageCache.default.retrieveImage(forKey: "\(PerfectLocalAuth.email)", options: nil)
image, cacheType in
if let image = image {
textmessageViewModal.avatarImage.value = image
} else {
textmessageViewModal.avatarImage.value = #imageLiteral(resourceName: "avatar1")
}
}
}
```

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the linked PerfectExamples/Perfect-Chat-Demo Sources/ChatUser.swift example and the avatar-loading snippet in the issue. Determine whether Chatto exposes the required group-chat user name and avatar data, and consider the question complete only when a supported approach and its limitations are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.