Rename indexforEventId to indexForEventId
This is a simple change to ensure its properly camelCase.
This commit is contained in:
@@ -40,7 +40,7 @@ QQC2.ScrollView {
|
||||
* @brief Shift the view to the given event ID.
|
||||
*/
|
||||
function goToEvent(eventId) {
|
||||
const index = messageListView.model.indexforEventId(eventId)
|
||||
const index = messageListView.model.indexForEventId(eventId)
|
||||
if (!index.valid) {
|
||||
messageListView.positionViewAtEnd();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user