fix some lint and comment

This commit is contained in:
Bruno Windels 2021-06-03 16:49:35 +02:00
parent 934839574e
commit 46bfab3eb7
3 changed files with 1 additions and 5 deletions

View file

@ -122,6 +122,7 @@ export class EventEntry extends BaseEventEntry {
if (redactionEvent) {
return redactionEvent.content?.reason;
}
// fall back to local echo reason
return super.redactionReason;
}
}

View file

@ -26,10 +26,6 @@ export class RoomStateStore {
this._roomStateStore = idbStore;
}
getAllForType(roomId, type) {
throw new Error("unimplemented");
}
get(roomId, type, stateKey) {
const key = encodeKey(roomId, type, stateKey);
return this._roomStateStore.get(key);

View file

@ -15,7 +15,6 @@ limitations under the License.
*/
export async function poll(fn) {
let result;
do {
const result = fn();
if (result) {