8a2af7e264
This property enables users to pass as factory function to `StatusChatList` component that determines the profile image of a given chat id. Usage: ```qml import StatusQ.Components 0.1 StatusChatList { ... profileImageFn: function (id) { // `id` is the model id of the current chat item iterator return ... // has to return a profile image url } } ``` In addition to this property, this commit also makes the component expect an optional `model.identityImage` in case it's already provided. That way, `profileImageFn` can be omitted. Closes #174 |
||
---|---|---|
.. | ||
StatusQ | ||
app | ||
fonts | ||
i18n | ||
imports | ||
shared/status | ||
generate-rcc.go | ||
main.qml | ||
nim-status-client.pro |