Skip to content

Commit

Permalink
fix some lint and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bwindels committed Jun 3, 2021
1 parent 9348395 commit 46bfab3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions src/matrix/room/timeline/entries/EventEntry.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export class EventEntry extends BaseEventEntry {
if (redactionEvent) {
return redactionEvent.content?.reason;
}
// fall back to local echo reason
return super.redactionReason;
}
}
4 changes: 0 additions & 4 deletions src/matrix/storage/idb/stores/RoomStateStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion src/mocks/poll.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ limitations under the License.
*/

export async function poll(fn) {
let result;
do {
const result = fn();
if (result) {
Expand Down

0 comments on commit 46bfab3

Please sign in to comment.