fix(geplante-nachrichten): use getAllConversations in getRooms to return full room list instead of top 3
This commit is contained in:
@@ -315,7 +315,7 @@ async function getRooms(): Promise<RoomsResult> {
|
|||||||
return { configured: false };
|
return { configured: false };
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
const { conversations } = await nextcloudService.getConversations(creds.username, creds.appPassword);
|
const conversations = await nextcloudService.getAllConversations(creds.username, creds.appPassword);
|
||||||
return {
|
return {
|
||||||
configured: true,
|
configured: true,
|
||||||
data: conversations.map(c => ({
|
data: conversations.map(c => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user