fix: skip blurring for user's own images
This commit is contained in:
@@ -410,7 +410,8 @@ impl<'a, 'd> TimelineTabView<'a, 'd> {
|
||||
let zapping_acc = self
|
||||
.cur_acc
|
||||
.as_ref()
|
||||
.filter(|_| self.note_context.current_account_has_wallet);
|
||||
.filter(|_| self.note_context.current_account_has_wallet)
|
||||
.or(self.cur_acc.as_ref());
|
||||
|
||||
notedeck_ui::padding(8.0, ui, |ui| {
|
||||
let resp = NoteView::new(
|
||||
|
||||
@@ -17,7 +17,7 @@ pub fn trust_media_from_pk2(
|
||||
pk1: Option<&[u8; 32]>,
|
||||
pk2: &[u8; 32],
|
||||
) -> bool {
|
||||
pk1.map(|pk| pk1_is_following_pk2(ndb, txn, pk, pk2).unwrap_or(false))
|
||||
pk1.map(|pk| pk == pk2 || pk1_is_following_pk2(ndb, txn, pk, pk2).unwrap_or(false))
|
||||
.unwrap_or(false)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user