Update changelog

This commit is contained in:
Jonathan Staab 2023-04-04 13:34:40 -05:00
parent a32afbda79
commit 55ebd2afa1
3 changed files with 16 additions and 6 deletions

View File

@ -1,5 +1,16 @@
# Changelog
## 0.2.21
- [x] Fix AUTH support
- [x] Add note quotes
- [x] Add support for bech32 entity rendering and parsing
- [x] Show all images/links in modal dialog
- [x] Fix newline handling in note composition
- [x] Render links in person.about content
- [x] Fix person detail relays list
- [x] Show username when creating a note
## 0.2.20
- [x] Re-write pool to use paravel

View File

@ -79,8 +79,6 @@ const createReply = (note, content, mentions = [], topics = []) => {
]
)
console.log(tags)
return new PublishableEvent(1, {content, tags})
}

View File

@ -162,8 +162,10 @@ function getExecutor(urls) {
let target
// Try to use our multiplexer, but if it fails to connect fall back to relays. If
// we're only connecting to a single relay, just do it directly
if (Config.multiplextrUrl && urls.length > 1) {
// we're only connecting to a single relay, just do it directly, unless we already
// have a connection to the multiplexer open, in which case we're probably doing
// AUTH with a single relay.
if (Config.multiplextrUrl && (urls.length > 1 || pool.has(Config.multiplextrUrl))) {
const socket = pool.get(Config.multiplextrUrl)
if (!socket.error) {
@ -277,7 +279,7 @@ async function subscribe({relays, filter, onEvent, onEose}: SubscribeOpts) {
Meta.onSubscriptionStart(urls)
const sub = executor.subscribe(filters, {
executor.subscribe(filters, {
onEvent: (url, e) => {
if (seen.has(e.id)) {
return
@ -309,7 +311,6 @@ async function subscribe({relays, filter, onEvent, onEose}: SubscribeOpts) {
unsub: () => {
log(`Closing subscription`, filters)
sub.unsubscribe()
executor.target.cleanup()
Meta.onSubscriptionEnd(urls)