fix some lint and comment
This commit is contained in:
parent
934839574e
commit
46bfab3eb7
3 changed files with 1 additions and 5 deletions
|
@ -122,6 +122,7 @@ export class EventEntry extends BaseEventEntry {
|
|||
if (redactionEvent) {
|
||||
return redactionEvent.content?.reason;
|
||||
}
|
||||
// fall back to local echo reason
|
||||
return super.redactionReason;
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
|
|
|
@ -15,7 +15,6 @@ limitations under the License.
|
|||
*/
|
||||
|
||||
export async function poll(fn) {
|
||||
let result;
|
||||
do {
|
||||
const result = fn();
|
||||
if (result) {
|
||||
|
|
Reference in a new issue