mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-21 09:41:39 +01:00
fix some lint and comment
This commit is contained in:
parent
934839574e
commit
46bfab3eb7
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user