Bump versions 16-03-23

This commit is contained in:
KoalaSat 2023-03-16 15:22:23 +01:00
parent 7d883668c6
commit 1eec8a7ad7
No known key found for this signature in database
GPG Key ID: 2F7F61C6146AB157
2 changed files with 1 additions and 7 deletions

View File

@ -565,7 +565,7 @@ public class Event {
zapped_user_id = pTags.getJSONArray(pTags.length() - 1).getString(1);
}
String userQuery = "SELECT created_at FROM nostros_users WHERE zap_pubkey = ? AND zapped_user_id = ?";
String userQuery = "SELECT created_at FROM nostros_users WHERE zap_pubkey = ? AND id = ?";
@SuppressLint("Recycle") Cursor userCursor = database.rawQuery(userQuery, new String[] {pubkey, zapped_user_id});
if (userCursor.moveToFirst()) {

View File

@ -79,12 +79,6 @@ export const NotificationsFeed: React.FC = () => {
useEffect(() => {
if (database && pubKeys.length > 0) {
getUsers(database, { includeIds: pubKeys }).then(setUsers)
relayPool?.subscribe('notification-users', [
{
kinds: [Kind.Metadata],
authors: pubKeys,
},
])
}
}, [pubKeys])