Skip to content

Commit ee73702

Browse files
authored
Merge pull request #7744 from vector-im/feature/bma/quickCrashFix
Fix crash
2 parents de18f37 + b25f185 commit ee73702

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

.github/workflows/danger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Danger
1414
uses: danger/danger-js@11.2.0
1515
with:
16-
args: "--dangerfile tools/danger/dangerfile.js"
16+
args: "--dangerfile ./tools/danger/dangerfile.js"
1717
env:
1818
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
1919
# Fallback for forks

.github/workflows/quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
if: always()
6969
uses: danger/danger-js@11.2.0
7070
with:
71-
args: "--dangerfile tools/danger/dangerfile-lint.js"
71+
args: "--dangerfile ./tools/danger/dangerfile-lint.js"
7272
env:
7373
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
7474
# Fallback for forks

changelog.d/7744.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix crash when inviting by email.

vector/src/main/java/im/vector/app/features/userdirectory/InviteByEmailItem.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@ import im.vector.app.R
2525
import im.vector.app.core.epoxy.ClickListener
2626
import im.vector.app.core.epoxy.VectorEpoxyHolder
2727
import im.vector.app.core.epoxy.VectorEpoxyModel
28-
import im.vector.app.features.home.AvatarRenderer
2928

3029
@EpoxyModelClass
3130
abstract class InviteByEmailItem : VectorEpoxyModel<InviteByEmailItem.Holder>(R.layout.item_invite_by_mail) {
3231

33-
@EpoxyAttribute lateinit var avatarRenderer: AvatarRenderer
3432
@EpoxyAttribute lateinit var foundItem: ThreePidUser
3533
@EpoxyAttribute(EpoxyAttribute.Option.DoNotHash) var clickListener: ClickListener? = null
3634
@EpoxyAttribute var selected: Boolean = false

0 commit comments

Comments
 (0)