hunk.code_window: 		return
   	}
   	post.Id = c.Params.PostId
   	rpost, err := c.App.UpdatePost(c.App.PostWithProxyRemovedFromImageURLs(post), false)
  
hunk.labels: keep keep add keep keep keep
hunk.after_edit: 	if c.Session.UserId != originalPost.UserId {
   		if !c.App.SessionHasPermissionToChannelByPost(c.Session, c.Params.PostId, model.PERMISSION_EDIT_OTHERS_POSTS) {
   			c.SetPermissionError(model.PERMISSION_EDIT_OTHERS_POSTS)
   			return
   		}
   	}
  
hunk.file_path: api4/post.go
hunk.type: add
file: // Copyright 2009 The Go Authors. All rights reserved.
  // Use of this source code is governed by a BSD-style
  // license that can be found in the LICENSE file.
  
  // +build !gccgo
  
  #include "textflag.h"
  
  //
  // System call support for 386, OpenBSD
  //
  
  // Just jump to package syscall's implementation for all these functions.
  // The runtime may know about them.
  
  TEXT	·Syscall(SB),NOSPLIT,$0-28
  	JMP	syscall·Syscall(SB)
  
  TEXT	·Syscall6(SB),NOSPLIT,$0-40
  	JMP	syscall·Syscall6(SB)
  
  TEXT	·Syscall9(SB),NOSPLIT,$0-52
  	JMP	syscall·Syscall9(SB)
  
  TEXT ·RawSyscall(SB),NOSPLIT,$0-28
  	JMP	syscall·RawSyscall(SB)
  
  TEXT	·RawSyscall6(SB),NOSPLIT,$0-40
  	JMP	syscall·RawSyscall6(SB)
  